wok-next view tazchroot/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 | 2a21689b0af7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazchroot"
4 VERSION="1.1.2"
5 CATEGORY="base-system"
6 SHORT_DESC="Slitaz tool to manage chroot"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 WEB_SITE="http://www.slitaz.org/"
9 SOURCE="slitaz-dev-tools"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
12 TAGS="slitaz"
14 DEPENDS="libtaz"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin $fs/etc/slitaz \
20 $fs/usr/lib/slitaz/chroot-scripts
21 cp -a $src/$PACKAGE/tazchroot $fs/usr/bin
22 chmod 755 $fs/usr/bin/tazchroot
23 cp -a $src/$PACKAGE/tazchroot.conf $fs/etc/slitaz
24 cp -a $src/$PACKAGE/tazchroot-scripts \
25 $fs/usr/lib/slitaz/chroot-scripts/tazchroot
26 }