wok-next view slitaz-tools/receipt @ rev 188
UP : geany (0.13) more plugins, receipts are colored..., and much more
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 06 18:25:01 2008 +0100 (2008-02-06) |
parents | ed0383bf9db6 |
children | e31553425bd9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="1.6"
5 CATEGORY="extra"
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 $fs/usr/sbin $fs/var/spool/cron/crontabs
23 # /rootfs/*. Firewall exemples, licenses and pixmaps.
24 cp -a $src/rootfs/* $fs
26 # Tinyutils.
27 #
28 cp -a $src/tinyutils/tazlocale $fs/sbin
29 cp -a $src/tinyutils/tazkmap $fs/sbin
30 cp -a $src/tinyutils/gztazmod.sh $fs/sbin
31 cp -a $src/tinyutils/tazx $fs/usr/bin
32 cp -a $src/tinyutils/startx $fs/usr/bin
34 # Gtkdialog boxes
35 cp -a $src/tinyutils/burnbox $fs/usr/bin
36 cp -a $src/tinyutils/mountbox $fs/usr/bin
37 cp -a $src/tinyutils/netbox $fs/usr/bin
38 cp -a $src/tinyutils/scpbox $fs/usr/bin
39 cp -a $src/tinyutils/subox $fs/usr/bin
41 # Sound config
42 cp -a $src/tinyutils/soundconf $fs/usr/sbin
44 # Installer script (beta)
45 cp -a $src/tinyutils/slitaz-installer.sh $fs/usr/bin
47 chown -R root.root $fs
48 chmod -R 755 $fs/usr/bin
49 chmod -R 755 $fs/sbin
51 # Tools doc in /usr/share/doc/slitaz-tools
52 # Cooking info in /usr/share/doc/slitaz with style and images.
53 #
54 mkdir -p $fs/usr/share/doc/slitaz $fs/usr/share/doc/slitaz-tools
55 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools
56 cp -a $src/doc/images $fs/usr/share/doc/slitaz
57 cp $src/doc/style.css $fs/usr/share/doc/slitaz
58 cp $src/doc/cooking-info.html $fs/usr/share/doc/slitaz
59 }
61 # Remove obsolet file installed with slitaz-tools-1.3
62 pre_install()
63 {
64 local root
65 root=$1
66 rm -rf $root/etc/slitaz-tools
67 rm -rf $root/usr/share/doc/slitaz-tools
68 }