wok view tazweb/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents 8862bbaf1d18
children
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="libwebkit"
16 BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev libwebkit-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 }