wok view slitaz-dev-tools/receipt @ rev 24069

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