wok annotate tazbug/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents ab43b9f8e081
children
rev   line source
pankso@12253 1 # SliTaz package receipt.
pankso@12253 2
pankso@12253 3 PACKAGE="tazbug"
pascal@20119 4 VERSION="152"
pankso@12253 5 CATEGORY="network"
al@18545 6 SHORT_DESC="SliTaz Bug Tracker - Client side tools"
pankso@12253 7 MAINTAINER="pankso@slitaz.org"
pankso@12253 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15363 9 LICENSE="BSD"
pankso@12253 10 WEB_SITE="http://bugs.slitaz.org/"
pascal@13783 11 WGET_URL="http://hg.slitaz.org/tazbug/archive/$VERSION.tar.gz"
pankso@12253 12 TAGS="slitaz"
pankso@12253 13
pankso@12253 14 DEPENDS="busybox gettext-base slitaz-base-files"
pankso@12253 15 BUILD_DEPENDS="gettext"
al@19617 16 SIBLINGS="tazbug-website"
pankso@12253 17
pascal@24069 18 current_version()
pascal@24069 19 {
pascal@24069 20 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
pascal@24069 21 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
pascal@24069 22 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
pascal@24069 23 }
pascal@24069 24
pankso@12253 25 # Rules to configure and make the package.
pankso@12253 26 compile_rules()
pankso@12253 27 {
pankso@19770 28 make && make install
pankso@12253 29 }
pankso@12253 30
pankso@12253 31 genpkg_rules()
pankso@12253 32 {
pankso@12253 33 cp -a $install/* $fs
pankso@12253 34 chown -R root.root $fs
pankso@12253 35 }