wok-current view tazweb-legacy/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazweb-legacy"
4 VERSION="209"
5 CATEGORY="network"
6 TAGS="web-browser"
7 SHORT_DESC="SliTaz simple, fast and small Web Browser Legacy."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="http://www.slitaz.org/"
12 TARBALL="tazweb-$VERSION.tar.gz"
13 WGET_URL="http://hg.slitaz.org/tazweb/archive/$VERSION.tar.gz"
15 DEPENDS="libwebkit libsoup"
16 BUILD_DEPENDS="glib-dev gtk+-dev libsoup248-dev libwebkit-dev \
17 libidn-dev libxslt-dev"
18 HOST_ARCH="i486 arm"
20 current_version()
21 {
22 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
23 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
24 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/lib/libsoup248/pkgconfig"
31 patch -p1 < $stuff/build_libwebkit.patch
32 make -j 1 &&
33 make DESTDIR=$install install
34 }
36 # Cross compilation check
37 testsuite() {
38 readelf -h $install/usr/bin/tazweb
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/bin
45 cp -a $install/usr/bin/tazweb $fs/usr/bin/tazweb-legacy
46 }
48 #post_install()
49 #{
50 # sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \
51 # $1/usr/share/doc/tazweb/style.css
52 #}