wok-current view slitaz-tools-boxes/receipt @ rev 5126
Up: slitaz-tools (3.6) Lots of fixes and improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 21 13:37:33 2010 +0100 (2010-03-21) |
parents | fd2ec226922d |
children | ec650cc9e184 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools-boxes"
4 VERSION="3.6"
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 gettext-base"
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/locale \
23 $fs/usr/share/slitaz/messages/en \
24 $fs/usr/share/doc/slitaz-tools
25 # Desktop files, icons and doc.
26 cp -a $src/rootfs/usr/share/applications $fs/usr/share
27 cp -a $src/rootfs/usr/share/pixmaps $fs/usr/share
28 cp -a $src/doc/*.html $fs/usr/share/doc/slitaz-tools
29 # Gtkdialog boxes.
30 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
31 cp -a $src/tinyutils/burnbox $fs/usr/bin
32 cp -a $src/tinyutils/mountbox $fs/usr/bin
33 cp -a $src/tinyutils/netbox $fs/usr/bin
34 cp -a $src/tinyutils/wifibox $fs/usr/bin
35 cp -a $src/tinyutils/scpbox $fs/usr/bin
36 cp -a $src/tinyutils/subox $fs/usr/bin
37 cp -a $src/tinyutils/desktopbox $fs/usr/bin
38 cp -a $src/tinyutils/sshbox $fs/usr/bin
39 cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin
40 # Libs.
41 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
42 # Default English messages (will move to po)
43 cp -a $src/messages/en/desktopbox.msg $fs/usr/share/slitaz/messages/en
44 # i18n
45 for l in `ls $src/po/mo`
46 do
47 mkdir -p $fs/usr/share/locale/$l/LC_MESSAGES
48 cp -a $src/po/mo/$l/* $fs/usr/share/locale/$l/LC_MESSAGES
49 done
50 # Gksu fake for pcmanfm.
51 cd $fs/usr/bin
52 ln -s subox gksu
53 cd $WOK/$PACKAGE
54 # Permissions.
55 chown -R root.root $fs
56 chmod -R 755 $fs/usr/bin
57 }