wok-current view mirror-tools/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | 1dce8e8602f2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mirror-tools"
4 VERSION="258"
5 CATEGORY="misc"
6 SHORT_DESC="Mirrors toolset."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.slitaz.org/"
10 SOURCE="slitaz-dev-tools"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
14 DEPENDS="rrdtool rgzip"
16 current_version()
17 {
18 wget -O - http://hg.slitaz.org/slitaz-dev-tools/ 2>/dev/null | \
19 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-dev-tools/rev/|;s|<.*||' | \
20 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $src/$PACKAGE/rootfs/* $fs
27 mkdir -p $fs/var/www
28 cp -a $src/$PACKAGE/slitaz $fs/var/www
29 chown -R 80.80 $fs/var/www
30 }