wok-6.x annotate tazchroot/receipt @ rev 16595
speedcrunch: do not fail when ./build exists
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 07 08:07:35 2014 +0000 (2014-05-07) |
parents | 2a21689b0af7 |
children | b5bb376d98ad |
rev | line source |
---|---|
gokhlayeh@7998 | 1 # SliTaz package receipt. |
gokhlayeh@7998 | 2 |
gokhlayeh@7998 | 3 PACKAGE="tazchroot" |
pascal@16153 | 4 VERSION="2.1" |
gokhlayeh@7998 | 5 CATEGORY="base-system" |
gokhlayeh@7998 | 6 SHORT_DESC="Slitaz tool to manage chroot" |
gokhlayeh@7998 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15363 | 8 LICENSE="BSD" |
gokhlayeh@7998 | 9 WEB_SITE="http://www.slitaz.org/" |
slaxemulator@8853 | 10 SOURCE="slitaz-dev-tools" |
pankso@9784 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@10728 | 12 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2" |
gokhlayeh@7998 | 13 TAGS="slitaz" |
gokhlayeh@7998 | 14 |
pankso@9784 | 15 DEPENDS="libtaz" |
pankso@9784 | 16 |
gokhlayeh@7998 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@7998 | 18 genpkg_rules() |
gokhlayeh@7998 | 19 { |
gokhlayeh@7998 | 20 mkdir -p $fs/usr/bin $fs/etc/slitaz \ |
gokhlayeh@8724 | 21 $fs/usr/lib/slitaz/chroot-scripts |
slaxemulator@8853 | 22 cp -a $src/$PACKAGE/tazchroot $fs/usr/bin |
gokhlayeh@7998 | 23 chmod 755 $fs/usr/bin/tazchroot |
slaxemulator@8853 | 24 cp -a $src/$PACKAGE/tazchroot.conf $fs/etc/slitaz |
slaxemulator@8853 | 25 cp -a $src/$PACKAGE/tazchroot-scripts \ |
pankso@8825 | 26 $fs/usr/lib/slitaz/chroot-scripts/tazchroot |
gokhlayeh@7998 | 27 } |