wok-next view slitaz-tools/receipt @ rev 852
slitaz-tools: remove tazfile, done by tazpkg and tazwok
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 22 16:36:21 2008 +0000 (2008-05-22) |
parents | 54ec4b7ae767 |
children | 3608a7f05743 |
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 touch $fs/etc/locale.conf
37 touch $fs/etc/motd
38 cp -a $src/tinyutils/tazkeymap $fs/sbin
39 touch $fs/etc/keymap.conf
40 touch $fs/etc/TZ
41 cp -a $src/tinyutils/gztazmod.sh $fs/sbin
42 cp -a $src/tinyutils/tazx $fs/usr/bin
43 touch $fs/etc/X11/screen.conf
44 cp -a $src/tinyutils/startx $fs/usr/bin
45 cp -a $src/tinyutils/history $fs/usr/bin
46 cp -a $src/tinyutils/tazdialog $fs/usr/bin
47 # Sound config
48 cp -a $src/tinyutils/soundconf $fs/usr/sbin
49 cp -a $src/tinyutils/setmixer $fs/usr/sbin
51 # Gtkdialog boxes
52 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
53 cp -a $src/tinyutils/burnbox $fs/usr/bin
54 cp -a $src/tinyutils/mountbox $fs/usr/bin
55 cp -a $src/tinyutils/netbox $fs/usr/bin
56 cp -a $src/tinyutils/scpbox $fs/usr/bin
57 cp -a $src/tinyutils/subox $fs/usr/bin
58 cp -a $src/tinyutils/torrentbox $fs/usr/bin
59 cp -a $src/tinyutils/desktopbox $fs/usr/bin
61 # Tazlito Box --> tazlito ??
62 cp -a $src/tinyutils/tazlitobox $fs/usr/bin
64 # Libs
65 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
67 # Glade XML files
68 cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade
70 # *.desktop
71 cp -a $src/stuff/desktop-files $fs/usr/share/applications
73 # Installer's
74 cp -a $src/installer/slitaz-installer $fs/usr/bin
75 cp -a $src/installer/*.msg $fs/usr/share/slitaz-tools/installer
77 # Tools doc in /usr/share/doc/slitaz-tools
78 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools
80 # Gksu fake for pcmanfm
81 cd $fs/usr/bin
82 ln -s subox gksu
83 cd $WOK/$PACKAGE
85 # Declare /etc/X11/screen.conf
86 #
87 # At the moment if /etc/X11/screen.conf exist there is no
88 # screen config with tazx in Live mode.
89 #
90 #mkdir -p $fs/etc/X11
91 #touch $fs/etc/X11/screen.conf
93 chown -R root.root $fs
94 chmod -R 755 $fs/usr/bin
95 chmod -R 755 $fs/sbin
96 }