wok annotate mirror-tools/receipt @ rev 24979
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 07 20:53:56 2022 +0000 (2022-05-07) |
parents | 1dce8e8602f2 |
children |
rev | line source |
---|---|
pascal@1725 | 1 # SliTaz package receipt. |
pascal@1725 | 2 |
pascal@1725 | 3 PACKAGE="mirror-tools" |
pascal@19414 | 4 VERSION="258" |
pascal@2054 | 5 CATEGORY="misc" |
pascal@1725 | 6 SHORT_DESC="Mirrors toolset." |
pascal@1725 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15583 | 8 LICENSE="BSD" |
pascal@1725 | 9 WEB_SITE="http://www.slitaz.org/" |
slaxemulator@8852 | 10 SOURCE="slitaz-dev-tools" |
slaxemulator@10731 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@10728 | 12 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2" |
pascal@1725 | 13 |
slaxemulator@10479 | 14 DEPENDS="rrdtool rgzip" |
slaxemulator@10479 | 15 |
pascal@24070 | 16 current_version() |
pascal@24070 | 17 { |
pascal@24070 | 18 wget -O - http://hg.slitaz.org/slitaz-dev-tools/ 2>/dev/null | \ |
pascal@24070 | 19 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-dev-tools/rev/|;s|<.*||' | \ |
pascal@24070 | 20 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24070 | 21 } |
pascal@24070 | 22 |
pascal@1725 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1725 | 24 genpkg_rules() |
pascal@1725 | 25 { |
slaxemulator@8852 | 26 cp -a $src/$PACKAGE/rootfs/* $fs |
slaxemulator@8852 | 27 mkdir -p $fs/var/www |
slaxemulator@8852 | 28 cp -a $src/$PACKAGE/slitaz $fs/var/www |
slaxemulator@8852 | 29 chown -R 80.80 $fs/var/www |
pascal@1725 | 30 } |
pascal@1725 | 31 |