wok-current view tazweb/receipt @ rev 25629
Mass updates for current
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Oct 11 18:45:46 2023 +0000 (10 months ago) |
parents | 7e911016a644 |
children | 3ad63c8fc2f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazweb"
4 VERSION="209"
5 CATEGORY="network"
6 TAGS="web-browser"
7 SHORT_DESC="SliTaz simple, fast and small Web Browser."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="http://www.slitaz.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS="webkitgtk"
16 BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev webkitgtk-dev libxslt-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
22 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
23 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 make -j 1 &&
30 make DESTDIR=$install install
31 }
33 # Cross compilation check
34 testsuite() {
35 readelf -h $install/usr/bin/tazweb
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs
42 cp -a $install/* $fs
43 }
45 post_install()
46 {
47 sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \
48 $1/usr/share/doc/tazweb/style.css
49 }