wok-4.x view slitaz-tools/receipt @ rev 292

Add: mhwaveedit (Sound editor ~330 Ko) + flac support
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 29 17:11:01 2008 +0100 (2008-02-29)
parents e31553425bd9
children 3cf0b6c08c57
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="1.8"
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
36 # Gtkdialog boxes
37 cp -a $src/tinyutils/burnbox $fs/usr/bin
38 cp -a $src/tinyutils/mountbox $fs/usr/bin
39 cp -a $src/tinyutils/netbox $fs/usr/bin
40 cp -a $src/tinyutils/scpbox $fs/usr/bin
41 cp -a $src/tinyutils/subox $fs/usr/bin
42 cp -a $src/stuff/desktop-files $fs/usr/share/applications
44 # Sound config
45 cp -a $src/tinyutils/soundconf $fs/usr/sbin
47 # Installer's
48 cp -a $src/tinyutils/slitaz-installer.sh $fs/usr/bin
49 cp -a $src/installer/slitaz-installer $fs/usr/bin
51 chown -R root.root $fs
52 chmod -R 755 $fs/usr/bin
53 chmod -R 755 $fs/sbin
55 # Tools doc in /usr/share/doc/slitaz-tools
56 # Cooking info in /usr/share/doc/slitaz with style and images.
57 #
58 mkdir -p $fs/usr/share/doc/slitaz $fs/usr/share/doc/slitaz-tools
59 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools
60 cp -a $src/doc/images $fs/usr/share/doc/slitaz
61 cp $src/doc/style.css $fs/usr/share/doc/slitaz
62 cp $src/doc/cooking-info.html $fs/usr/share/doc/slitaz
63 }
65 # Remove obsolet file installed with slitaz-tools-1.3
66 pre_install()
67 {
68 local root
69 root=$1
70 rm -rf $root/etc/slitaz-tools
71 rm -rf $root/usr/share/doc/slitaz-tools
72 }