wok-current annotate tazweb/receipt @ rev 25653

lzo needed from fsarchiver
author Hans-G?nter Theisgen
date Tue Feb 13 07:22:29 2024 +0100 (6 months ago)
parents a23978bfa665
children
rev   line source
pankso@9482 1 # SliTaz package receipt.
pankso@9482 2
pankso@9482 3 PACKAGE="tazweb"
Hans-G?nter@21132 4 VERSION="209"
pankso@9482 5 CATEGORY="network"
Hans-G?nter@21132 6 TAGS="web-browser"
Hans-G?nter@21132 7 SHORT_DESC="SliTaz simple, fast and small Web Browser."
pankso@9482 8 MAINTAINER="pankso@slitaz.org"
pascal@15022 9 LICENSE="BSD"
al@14126 10 WEB_SITE="http://www.slitaz.org/"
Hans-G?nter@21132 11
al@14126 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@14126 13 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
al@14126 14
shann@25634 15 DEPENDS="webkitgtk libsoup"
shann@25634 16 BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev webkitgtk-dev \
shann@25634 17 libidn-dev libxslt-dev"
Hans-G?nter@21132 18 HOST_ARCH="i486 arm"
pankso@9482 19
pascal@24069 20 current_version()
pascal@24069 21 {
pascal@24069 22 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
pascal@24069 23 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
pascal@24069 24 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
pascal@24069 25 }
pascal@24069 26
pankso@9482 27 # Rules to configure and make the package.
pankso@9482 28 compile_rules()
pankso@9482 29 {
shann@25634 30 patch -p1 < $stuff/build_libwebkit.patch
Hans-G?nter@21132 31 make -j 1 &&
Hans-G?nter@21132 32 make DESTDIR=$install install
pankso@9482 33 }
pankso@9482 34
pankso@16267 35 # Cross compilation check
pankso@16267 36 testsuite() {
pankso@16267 37 readelf -h $install/usr/bin/tazweb
pankso@16267 38 }
pankso@16267 39
pankso@9482 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9482 41 genpkg_rules()
pankso@9482 42 {
pankso@9482 43 mkdir -p $fs
pankso@12178 44 cp -a $install/* $fs
pankso@9482 45 }
pascal@20101 46
pascal@20101 47 post_install()
pascal@20101 48 {
pascal@20101 49 sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \
pascal@20101 50 $1/usr/share/doc/tazweb/style.css
pascal@20101 51 }