wok-stable annotate mirror-tools/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents 60e5b78b4e58
children 406a1c038481
rev   line source
pascal@1725 1 # SliTaz package receipt.
pascal@1725 2
pascal@1725 3 PACKAGE="mirror-tools"
slaxemulator@10479 4 VERSION="1.1.2"
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/"
slaxemulator@8852 9 SOURCE="slitaz-dev-tools"
slaxemulator@10728 10 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
pascal@1725 11
slaxemulator@10479 12 DEPENDS="rrdtool rgzip"
slaxemulator@10479 13
pascal@1725 14 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1725 15 genpkg_rules()
pascal@1725 16 {
slaxemulator@8852 17 cp -a $src/$PACKAGE/rootfs/* $fs
slaxemulator@8852 18 mkdir -p $fs/var/www
slaxemulator@8852 19 cp -a $src/$PACKAGE/mirror-info $fs/var/www
slaxemulator@8852 20 cp -a $src/$PACKAGE/slitaz $fs/var/www
slaxemulator@8852 21 chown -R 80.80 $fs/var/www
pascal@1725 22 }
pascal@1725 23