wok-current view slitaz-tools-boxes/receipt @ rev 3070

Up: geany (0.17)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 13 22:52:12 2009 +0200 (2009-05-13)
parents aff8f1d4474d
children 30e968a1ed73
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools-boxes"
4 VERSION="3.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/"
12 CONFIG_FILES="/etc/wireless"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p \
18 $fs/etc/wireless \
19 $fs/usr/bin \
20 $fs/usr/sbin \
21 $fs/usr/lib/slitaz \
22 $fs/usr/share/slitaz/glade
23 # Desktop files and icons.
24 cp -a $src/rootfs/usr/share/applications $fs/usr/share
25 cp -a $src/rootfs/usr/share/pixmaps $fs/usr/share
26 # Gtkdialog boxes.
27 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
28 cp -a $src/tinyutils/burnbox $fs/usr/bin
29 cp -a $src/tinyutils/mountbox $fs/usr/bin
30 cp -a $src/tinyutils/netbox $fs/usr/bin
31 cp -a $src/tinyutils/wifibox $fs/usr/bin
32 cp -a $src/tinyutils/scpbox $fs/usr/bin
33 cp -a $src/tinyutils/subox $fs/usr/bin
34 cp -a $src/tinyutils/desktopbox $fs/usr/bin
35 cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin
36 # Libs and Glade XML files.
37 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
38 cp -a $src/glade/*.glade $fs/usr/share/slitaz/glade
39 # Gksu fake for pcmanfm.
40 cd $fs/usr/bin
41 ln -s subox gksu
42 cd $WOK/$PACKAGE
43 # Permissions.
44 chown -R root.root $fs
45 chmod -R 755 $fs/usr/bin
46 }