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