wok-6.x view slitaz-tools/receipt @ rev 823
firefox: add google search to the webhome page (Thanks Dojan5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 17 18:17:09 2008 +0200 (2008-05-17) |
parents | 5fb91a028ec9 |
children | 54ec4b7ae767 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="2.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz tools provide installer and Tinyutils."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="slitaz-boot-scripts dialog"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/tools/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 #
15 # This package is all build by genpkg, it provide /usr/share/examples tree,
16 # tazlito, tinyutils, licenses, documentation and artwork. This package
17 # provide also the Firewall deamon/config (/etc/firewall.conf).
18 #
19 genpkg_rules()
20 {
21 mkdir -p \
22 $fs/sbin \
23 $fs/usr/bin \
24 $fs/usr/sbin \
25 $fs/var/spool/cron/crontabs \
26 $fs/usr/lib/slitaz \
27 $fs/usr/share/doc/slitaz-tools \
28 $fs/usr/share/slitaz-tools/glade \
29 $fs/usr/share/slitaz-tools/installer
31 # /rootfs/*. Firewall exemples, licenses and pixmaps.
32 cp -a $src/rootfs/* $fs
34 # Tinyutils.
35 cp -a $src/tinyutils/tazlocale $fs/sbin
36 cp -a $src/tinyutils/tazkeymap $fs/sbin
37 cp -a $src/tinyutils/gztazmod.sh $fs/sbin
38 cp -a $src/tinyutils/tazfile $fs/usr/bin
39 cp -a $src/tinyutils/tazx $fs/usr/bin
40 cp -a $src/tinyutils/startx $fs/usr/bin
41 cp -a $src/tinyutils/history $fs/usr/bin
42 cp -a $src/tinyutils/tazdialog $fs/usr/bin
43 # Sound config
44 cp -a $src/tinyutils/soundconf $fs/usr/sbin
45 cp -a $src/tinyutils/setmixer $fs/usr/sbin
47 # Gtkdialog boxes
48 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
49 cp -a $src/tinyutils/burnbox $fs/usr/bin
50 cp -a $src/tinyutils/mountbox $fs/usr/bin
51 cp -a $src/tinyutils/netbox $fs/usr/bin
52 cp -a $src/tinyutils/scpbox $fs/usr/bin
53 cp -a $src/tinyutils/subox $fs/usr/bin
54 cp -a $src/tinyutils/torrentbox $fs/usr/bin
55 cp -a $src/tinyutils/desktopbox $fs/usr/bin
57 # Tazlito Box --> tazlito ??
58 cp -a $src/tinyutils/tazlitobox $fs/usr/bin
60 # Libs
61 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
63 # Glade XML files
64 cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade
66 # *.desktop
67 cp -a $src/stuff/desktop-files $fs/usr/share/applications
69 # Installer's
70 cp -a $src/installer/slitaz-installer $fs/usr/bin
71 cp -a $src/installer/*.msg $fs/usr/share/slitaz-tools/installer
73 # Tools doc in /usr/share/doc/slitaz-tools
74 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools
76 # Gksu fake for pcmanfm
77 cd $fs/usr/bin
78 ln -s subox gksu
79 cd $WOK/$PACKAGE
81 # Declare /etc/X11/screen.conf
82 #
83 # At the moment if /etc/X11/screen.conf exist there is no
84 # screen config with tazx in Live mode.
85 #
86 #mkdir -p $fs/etc/X11
87 #touch $fs/etc/X11/screen.conf
89 chown -R root.root $fs
90 chmod -R 755 $fs/usr/bin
91 chmod -R 755 $fs/sbin
92 }