wok view slitaz-tools/receipt @ rev 770
Up: udev (121)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 12 01:50:36 2008 +0200 (2008-05-12) |
parents | b17e5733fa1c |
children | a1d12c37584a |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="2.2"
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/installer
30 # /rootfs/*. Firewall exemples, licenses and pixmaps.
31 cp -a $src/rootfs/* $fs
33 # Tinyutils.
34 cp -a $src/tinyutils/tazlocale $fs/sbin
35 cp -a $src/tinyutils/tazkeymap $fs/sbin
36 cp -a $src/tinyutils/gztazmod.sh $fs/sbin
37 cp -a $src/tinyutils/tazfile $fs/usr/bin
38 cp -a $src/tinyutils/tazx $fs/usr/bin
39 cp -a $src/tinyutils/startx $fs/usr/bin
40 cp -a $src/tinyutils/history $fs/usr/bin
41 # Sound config
42 cp -a $src/tinyutils/soundconf $fs/usr/sbin
43 cp -a $src/tinyutils/setmixer $fs/usr/sbin
45 # Gtkdialog boxes
46 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
47 cp -a $src/tinyutils/burnbox $fs/usr/bin
48 cp -a $src/tinyutils/mountbox $fs/usr/bin
49 cp -a $src/tinyutils/netbox $fs/usr/bin
50 cp -a $src/tinyutils/scpbox $fs/usr/bin
51 cp -a $src/tinyutils/subox $fs/usr/bin
52 cp -a $src/tinyutils/torrentbox $fs/usr/bin
53 cp -a $src/tinyutils/desktopbox $fs/usr/bin
54 # Tazlito Box --> tazlito ??
55 cp -a $src/tinyutils/tazlitobox $fs/usr/bin
57 # Libs
58 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
60 # *.desktop
61 cp -a $src/stuff/desktop-files $fs/usr/share/applications
63 # Installer's
64 cp -a $src/installer/slitaz-installer $fs/usr/bin
65 cp -a $src/installer/*.msg $fs/usr/share/slitaz-tools/installer
67 # Tools doc in /usr/share/doc/slitaz-tools
68 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools
70 # Gksu fake for pcmanfm
71 cd $fs/usr/bin
72 ln -s subox gksu
73 cd $WOK/$PACKAGE
75 # Declare /etc/X11/screen.conf
76 #
77 # At the moment if /etc/X11/screen.conf exist there is no
78 # screen config with tazx in Live mode.
79 #
80 #mkdir -p $fs/etc/X11
81 #touch $fs/etc/X11/screen.conf
83 chown -R root.root $fs
84 chmod -R 755 $fs/usr/bin
85 chmod -R 755 $fs/sbin
86 }