wok-next annotate tazchroot/receipt @ rev 15684

Add deboostrap;Add dpkg
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 23:12:31 2013 +0100 (2013-12-20)
parents 74379b2b86e0
children 7c9fe1d1a9c9
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"
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 }