wok annotate tazweb/receipt @ rev 24999

updated nmap (7.80 -> 7.92)
author Hans-G?nter Theisgen
date Mon May 16 13:38:34 2022 +0100 (2022-05-16)
parents 8862bbaf1d18
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
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
pascal@24069 19 current_version()
pascal@24069 20 {
pascal@24069 21 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
pascal@24069 22 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
pascal@24069 23 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
pascal@24069 24 }
pascal@24069 25
pankso@9482 26 # Rules to configure and make the package.
pankso@9482 27 compile_rules()
pankso@9482 28 {
Hans-G?nter@21132 29 make -j 1 &&
Hans-G?nter@21132 30 make DESTDIR=$install install
pankso@9482 31 }
pankso@9482 32
pankso@16267 33 # Cross compilation check
pankso@16267 34 testsuite() {
pankso@16267 35 readelf -h $install/usr/bin/tazweb
pankso@16267 36 }
pankso@16267 37
pankso@9482 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9482 39 genpkg_rules()
pankso@9482 40 {
pankso@9482 41 mkdir -p $fs
pankso@12178 42 cp -a $install/* $fs
pankso@9482 43 }
pascal@20101 44
pascal@20101 45 post_install()
pascal@20101 46 {
pascal@20101 47 sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \
pascal@20101 48 $1/usr/share/doc/tazweb/style.css
pascal@20101 49 }