wok-6.x view slitaz-tools/receipt @ rev 693
taz & tazlito: declare files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 26 07:32:19 2008 +0000 (2008-04-26) |
parents | a9aee5bad36a |
children | fbbe68c26df7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="2.0"
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/share/slitaz-tools/installer
28 # /rootfs/*. Firewall exemples, licenses and pixmaps.
29 cp -a $src/rootfs/* $fs
31 # Tinyutils.
32 #
33 cp -a $src/tinyutils/tazlocale $fs/sbin
34 cp -a $src/tinyutils/tazkmap $fs/sbin
35 cp -a $src/tinyutils/gztazmod.sh $fs/sbin
36 cp -a $src/tinyutils/tazfile $fs/usr/bin
37 cp -a $src/tinyutils/tazx $fs/usr/bin
38 cp -a $src/tinyutils/startx $fs/usr/bin
39 cp -a $src/tinyutils/history $fs/usr/bin
41 # Gtkdialog boxes
42 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
43 cp -a $src/tinyutils/burnbox $fs/usr/bin
44 cp -a $src/tinyutils/mountbox $fs/usr/bin
45 cp -a $src/tinyutils/netbox $fs/usr/bin
46 cp -a $src/tinyutils/scpbox $fs/usr/bin
47 cp -a $src/tinyutils/subox $fs/usr/bin
48 cp -a $src/tinyutils/torrentbox $fs/usr/bin
50 cp -a $src/stuff/desktop-files $fs/usr/share/applications
52 # Tazlito Box
53 cp -a $src/tinyutils/tazlitobox $fs/usr/bin
55 # Sound config
56 cp -a $src/tinyutils/soundconf $fs/usr/sbin
58 # Installer's
59 cp -a $src/installer/slitaz-installer $fs/usr/bin
60 cp -a $src/installer/*.msg $fs/usr/share/slitaz-tools/installer
62 # Tools doc in /usr/share/doc/slitaz-tools
63 #
64 mkdir -p $fs/usr/share/doc/slitaz-tools
65 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools
67 # Gksu fake for pcmanfm
68 cd $fs/usr/bin
69 ln -s subox gksu
70 cd $WOK/$PACKAGE
72 chown -R root.root $fs
73 chmod -R 755 $fs/usr/bin
74 chmod -R 755 $fs/sbin
76 # Declare /etc/X11/screen.conf
77 touch $fs/etc/X11/screen.conf
78 }