wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mirror-tools"
4 VERSION="1.1.2"
5 CATEGORY="misc"
6 SHORT_DESC="Mirrors toolset."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.slitaz.org/"
9 SOURCE="slitaz-dev-tools"
10 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
12 DEPENDS="rrdtool rgzip"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 cp -a $src/$PACKAGE/rootfs/* $fs
18 mkdir -p $fs/var/www
19 cp -a $src/$PACKAGE/mirror-info $fs/var/www
20 cp -a $src/$PACKAGE/slitaz $fs/var/www
21 chown -R 80.80 $fs/var/www
22 }