wok view slitaz-tools/receipt @ rev 132
Fix base dir slitaz-base-files
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 06 21:20:26 2008 +0100 (2008-01-06) |
parents | 534cedd9d753 |
children | b45878c8f8c3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="1.5"
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
33 cp -a $src/tinyutils/mountbox $fs/usr/bin
35 # Sound config
36 cp -a $src/tinyutils/soundconf $fs/usr/sbin
38 # Installer script (beta)
39 cp -a $src/tinyutils/slitaz-installer.sh $fs/usr/bin
41 chown -R root.root $fs
42 chmod -R 755 $fs/usr/bin
43 chmod -R 755 $fs/sbin
45 # Tools doc in /usr/share/doc/slitaz-tools
46 # Cooking info in /usr/share/doc/slitaz with style and images.
47 #
48 mkdir -p $fs/usr/share/doc/slitaz $fs/usr/share/doc/slitaz-tools
49 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools
50 cp -a $src/doc/images $fs/usr/share/doc/slitaz
51 cp $src/doc/style.css $fs/usr/share/doc/slitaz
52 cp $src/doc/cooking-info.html $fs/usr/share/doc/slitaz
53 }
55 # Remove obsolet file installed with slitaz-tools-1.3
56 pre_install()
57 {
58 local root
59 root=$1
60 rm -rf $root/etc/slitaz-tools
61 rm -rf $root/usr/share/doc/slitaz-tools
62 }