wok-6.x view slitaz-tools-boxes/receipt @ rev 9825
xl2tpd: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 15 15:38:32 2011 +0200 (2011-05-15) |
parents | 36c4cafd0cb4 |
children | 6d0d24815ad4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools-boxes"
4 VERSION="4.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 gettext-base"
9 WANTED="slitaz-tools"
10 WEB_SITE="http://www.slitaz.org/"
11 CONFIG_FILES="/etc/wireless"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p \
17 $fs/etc/wireless \
18 $fs/usr/bin \
19 $fs/usr/sbin \
20 $fs/usr/lib/slitaz \
21 $fs/usr/share/locale \
22 $fs/usr/share/slitaz/messages/en \
23 $fs/usr/share/doc/slitaz-tools
24 # Desktop files, icons and doc.
25 cp -a $src/rootfs/usr/share/applications $fs/usr/share
26 cp -a $src/rootfs/usr/share/pixmaps $fs/usr/share
27 cp -a $src/doc/*.html $fs/usr/share/doc/slitaz-tools
28 # Gtkdialog boxes.
29 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
30 cp -a $src/tinyutils/burnbox $fs/usr/bin
31 cp -a $src/tinyutils/mountbox $fs/usr/bin
32 cp -a $src/tinyutils/netbox $fs/usr/bin
33 cp -a $src/tinyutils/serverbox $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 cp -a $src/tazbox/tazbox $fs/usr/bin
41 # Libs.
42 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
43 # Default English messages (will move to po)
44 cp -a $src/messages/en/desktopbox.msg $fs/usr/share/slitaz/messages/en
45 # i18n
46 for l in `ls $src/po/mo`
47 do
48 mkdir -p $fs/usr/share/locale/$l/LC_MESSAGES
49 cp -a $src/po/mo/$l/* $fs/usr/share/locale/$l/LC_MESSAGES
50 done
51 # Gksu fake for pcmanfm.
52 cd $fs/usr/bin
53 ln -s subox gksu
54 cd $WOK/$PACKAGE
55 # Permissions.
56 chown -R root.root $fs
57 chmod -R 755 $fs/usr/bin
58 }