wok-6.x annotate mirror-tools/receipt @ rev 16153
Up slitaz-dev-tools (2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 12:44:24 2014 +0000 (2014-03-28) |
parents | bb009a6ef036 |
children | c2f8b3bcdaa0 |
rev | line source |
---|---|
pascal@1725 | 1 # SliTaz package receipt. |
pascal@1725 | 2 |
pascal@1725 | 3 PACKAGE="mirror-tools" |
pascal@16153 | 4 VERSION="2.1" |
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@1725 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1725 | 17 genpkg_rules() |
pascal@1725 | 18 { |
slaxemulator@8852 | 19 cp -a $src/$PACKAGE/rootfs/* $fs |
slaxemulator@8852 | 20 mkdir -p $fs/var/www |
slaxemulator@8852 | 21 cp -a $src/$PACKAGE/mirror-info $fs/var/www |
slaxemulator@8852 | 22 cp -a $src/$PACKAGE/slitaz $fs/var/www |
slaxemulator@8852 | 23 chown -R 80.80 $fs/var/www |
pascal@1725 | 24 } |
pascal@1725 | 25 |