wok view tazchroot/receipt @ rev 13136

wesnoth: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 08 16:36:30 2012 +0200 (2012-07-08)
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 }