wok view tazdev/receipt @ rev 25029

lives: back out wget_url update
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 19:43:34 2022 +0000 (2022-05-19)
parents 1dce8e8602f2
children
line source
1 # SliTaz package receipt
3 PACKAGE="tazdev"
4 VERSION="258"
5 CATEGORY="development"
6 SHORT_DESC="SliTaz developers tools."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="slitaz-dev-tools"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
12 WEB_SITE="http://www.slitaz.org/"
13 HOST_ARCH="i486 arm"
15 DEPENDS="rsync"
17 current_version()
18 {
19 wget -O - http://hg.slitaz.org/slitaz-dev-tools/ 2>/dev/null | \
20 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-dev-tools/rev/|;s|<.*||' | \
21 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/etc/slitaz $fs/usr/bin
28 cp -a $src/$PACKAGE/tazdev $fs/usr/bin
29 cp -a $src/$PACKAGE/tazdev.conf $fs/etc/slitaz
30 chown -R root.root $fs
31 }