wok view mirror-tools/receipt @ rev 24248
updated perl-net-telnet (3.04 -> 3.05)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 09:35:45 2022 +0100 (2022-01-02) |
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 }