wok annotate tazchroot/receipt @ rev 18206

Up py3k (3.4.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 15 13:37:20 2015 +0200 (2015-07-15)
parents b5bb376d98ad
children 153495d7251e
rev   line source
gokhlayeh@7998 1 # SliTaz package receipt.
gokhlayeh@7998 2
gokhlayeh@7998 3 PACKAGE="tazchroot"
pascal@17224 4 VERSION="2.1.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
pascal@17482 15 DEPENDS="slitaz-base-files"
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 }