wok view tazweb/receipt @ rev 25430

Up os-prober (1.81)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 19 06:26:39 2022 +0000 (2022-08-19)
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 }