wok-current annotate slitaz-dev-tools/receipt @ rev 24103
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 17 14:12:38 2021 +0000 (2021-09-17) |
parents | 1dce8e8602f2 |
children |
rev | line source |
---|---|
pankso@3440 | 1 # SliTaz package receipt |
pankso@3440 | 2 |
pankso@3440 | 3 PACKAGE="slitaz-dev-tools" |
pascal@19414 | 4 VERSION="258" |
pankso@8832 | 5 CATEGORY="meta" |
pankso@8832 | 6 SHORT_DESC="SliTaz developers tools meta package." |
pankso@3440 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
pankso@16081 | 9 DEPENDS="rsync tazdev mercurial" |
pankso@3440 | 10 WEB_SITE="http://www.slitaz.org/" |
pankso@16081 | 11 #HOST_ARCH="i486 arm" |
pankso@3440 | 12 |
pascal@24069 | 13 current_version() |
pascal@24069 | 14 { |
pascal@24069 | 15 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ |
pascal@24069 | 16 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ |
pascal@24069 | 17 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24069 | 18 } |
pascal@24069 | 19 |
pankso@3440 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3440 | 21 genpkg_rules() |
pankso@3440 | 22 { |
pankso@8832 | 23 mkdir -p $fs/usr |
pankso@3440 | 24 } |
pascal@16686 | 25 |