wok annotate tazweb/receipt @ rev 21859

updated sarg and sarg-php (2.3.1 -> 2.3.11)
author Hans-G?nter Theisgen
date Thu Sep 19 16:26:43 2019 +0100 (2019-09-19)
parents ab43b9f8e081
children 7e911016a644
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
al@17315 15 DEPENDS="libwebkit"
pankso@16268 16 BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev libwebkit-dev libxslt-dev"
Hans-G?nter@21132 17 HOST_ARCH="i486 arm"
pankso@9482 18
pankso@9482 19 # Rules to configure and make the package.
pankso@9482 20 compile_rules()
pankso@9482 21 {
Hans-G?nter@21132 22 make -j 1 &&
Hans-G?nter@21132 23 make DESTDIR=$install install
pankso@9482 24 }
pankso@9482 25
pankso@16267 26 # Cross compilation check
pankso@16267 27 testsuite() {
pankso@16267 28 readelf -h $install/usr/bin/tazweb
pankso@16267 29 }
pankso@16267 30
pankso@9482 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9482 32 genpkg_rules()
pankso@9482 33 {
pankso@9482 34 mkdir -p $fs
pankso@12178 35 cp -a $install/* $fs
pankso@9482 36 }
pascal@20101 37
pascal@20101 38 post_install()
pascal@20101 39 {
pascal@20101 40 sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \
pascal@20101 41 $1/usr/share/doc/tazweb/style.css
pascal@20101 42 }