wok-current annotate tazbug/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (6 weeks ago)
parents 7e911016a644
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
shann@25728 18 HOST_ARCH="i486 x86_64"
shann@25728 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@12253 27 # Rules to configure and make the package.
pankso@12253 28 compile_rules()
pankso@12253 29 {
pankso@19770 30 make && make install
pankso@12253 31 }
pankso@12253 32
pankso@12253 33 genpkg_rules()
pankso@12253 34 {
pankso@12253 35 cp -a $install/* $fs
pankso@12253 36 chown -R root.root $fs
pankso@12253 37 }