wok view slitaz-tools-boxes/receipt @ rev 2123
slitaz-tools-boxes: fix directory creation in receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 01 00:54:55 2009 +0100 (2009-02-01) |
parents | 140f816711dc |
children | 776e2d3f8c05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools-boxes"
4 VERSION="2.8.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="All SliTaz GTKdialog boxes to command line tools."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="slitaz-tools gtkdialog"
9 WANTED="slitaz-tools"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.slitaz.org/"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p \
17 $fs/usr/bin \
18 $fs/usr/sbin \
19 $fs/usr/lib/slitaz \
20 $fs/usr/share/slitaz-tools/glade
22 # Gtkdialog boxes
23 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
24 cp -a $src/tinyutils/burnbox $fs/usr/bin
25 cp -a $src/tinyutils/mountbox $fs/usr/bin
26 cp -a $src/tinyutils/netbox $fs/usr/bin
27 cp -a $src/tinyutils/scpbox $fs/usr/bin
28 cp -a $src/tinyutils/subox $fs/usr/bin
29 cp -a $src/tinyutils/desktopbox $fs/usr/bin
30 cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin
32 # Libs and Glade XML files.
33 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
34 cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade
36 # Gksu fake for pcmanfm
37 cd $fs/usr/bin
38 ln -s subox gksu
39 cd $WOK/$PACKAGE
41 chown -R root.root $fs
42 chmod -R 755 $fs/usr/bin
43 }