wok-current annotate mirror-tools/receipt @ rev 8852
Updated mirror-tools to use slitaz-dev-tools.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Feb 25 00:34:53 2011 +0000 (2011-02-25) |
parents | 0337de6a5c9b |
children | 07edd55d4b03 |
rev | line source |
---|---|
pascal@1725 | 1 # SliTaz package receipt. |
pascal@1725 | 2 |
pascal@1725 | 3 PACKAGE="mirror-tools" |
pascal@1725 | 4 VERSION="1.0" |
pascal@2054 | 5 CATEGORY="misc" |
pascal@1725 | 6 SHORT_DESC="Mirrors toolset." |
pascal@1725 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1725 | 8 WEB_SITE="http://www.slitaz.org/" |
pascal@5649 | 9 DEPENDS="rrdtool rgzip" |
slaxemulator@8852 | 10 BUILD_DEPENDS="mercurial" |
slaxemulator@8852 | 11 SOURCE="slitaz-dev-tools" |
slaxemulator@8852 | 12 WGET_URL="mercurial|http://hg.slitaz.org/slitaz-dev-tools" |
slaxemulator@8852 | 13 BRANCH="$VERSION" |
pascal@1725 | 14 |
pascal@1725 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1725 | 16 genpkg_rules() |
pascal@1725 | 17 { |
slaxemulator@8852 | 18 cp -a $src/$PACKAGE/rootfs/* $fs |
slaxemulator@8852 | 19 mkdir -p $fs/var/www |
slaxemulator@8852 | 20 cp -a $src/$PACKAGE/mirror-info $fs/var/www |
slaxemulator@8852 | 21 cp -a $src/$PACKAGE/slitaz $fs/var/www |
slaxemulator@8852 | 22 chown -R 80.80 $fs/var/www |
pascal@1725 | 23 } |
pascal@1725 | 24 |