wok-6.x view slitaz-tools/receipt @ rev 373
Up: slitaz-tools (1.9.1) for loram support in the installer
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 08 13:19:48 2008 +0100 (2008-03-08) |
parents | 3cf0b6c08c57 |
children | 65917c1049b9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="1.9.1"
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 $fs/sbin $fs/usr/bin \
22 $fs/usr/sbin $fs/var/spool/cron/crontabs \
23 $fs/usr/share
25 # /rootfs/*. Firewall exemples, licenses and pixmaps.
26 cp -a $src/rootfs/* $fs
28 # Tinyutils.
29 #
30 cp -a $src/tinyutils/tazlocale $fs/sbin
31 cp -a $src/tinyutils/tazkmap $fs/sbin
32 cp -a $src/tinyutils/gztazmod.sh $fs/sbin
33 cp -a $src/tinyutils/tazx $fs/usr/bin
34 cp -a $src/tinyutils/startx $fs/usr/bin
35 cp -a $src/tinyutils/history $fs/usr/bin
37 # Gtkdialog boxes
38 cp -a $src/tinyutils/burnbox $fs/usr/bin
39 cp -a $src/tinyutils/jwmbgconf $fs/usr/bin
40 cp -a $src/tinyutils/mountbox $fs/usr/bin
41 cp -a $src/tinyutils/netbox $fs/usr/bin
42 cp -a $src/tinyutils/scpbox $fs/usr/bin
43 cp -a $src/tinyutils/subox $fs/usr/bin
44 cp -a $src/stuff/desktop-files $fs/usr/share/applications
46 # Tazlito Box
47 cp -a $src/tinyutils/tazlitobox $fs/usr/bin
49 # Sound config
50 cp -a $src/tinyutils/soundconf $fs/usr/sbin
52 # Installer's
53 cp -a $src/tinyutils/slitaz-installer.sh $fs/usr/bin
54 cp -a $src/installer/slitaz-installer $fs/usr/bin
56 chown -R root.root $fs
57 chmod -R 755 $fs/usr/bin
58 chmod -R 755 $fs/sbin
60 # Tools doc in /usr/share/doc/slitaz-tools
61 # Cooking info in /usr/share/doc/slitaz with style and images.
62 #
63 mkdir -p $fs/usr/share/doc/slitaz $fs/usr/share/doc/slitaz-tools
64 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools
65 cp -a $src/doc/images $fs/usr/share/doc/slitaz
66 cp $src/doc/style.css $fs/usr/share/doc/slitaz
67 cp $src/doc/cooking-info.html $fs/usr/share/doc/slitaz
68 }
70 # Remove obsolet file installed with slitaz-tools-1.3
71 pre_install()
72 {
73 local root
74 root=$1
75 rm -rf $root/etc/slitaz-tools
76 rm -rf $root/usr/share/doc/slitaz-tools
77 }