wok-6.x annotate slitaz-tools/receipt @ rev 425
Creat gksu with genpkg_rules (slitaz-tools again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 13 16:54:46 2008 +0100 (2008-03-13) |
parents | 747f5ac3bb91 |
children | f2604ab28e19 |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
pankso@425 | 4 VERSION="1.9.5" |
pankso@194 | 5 CATEGORY="system-tools" |
pankso@79 | 6 SHORT_DESC="SliTaz tools provide installer and Tinyutils." |
pankso@11 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@11 | 8 DEPENDS="slitaz-boot-scripts dialog" |
pankso@11 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@11 | 10 WEB_SITE="http://www.slitaz.org/" |
pankso@11 | 11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/tools/$TARBALL" |
pankso@11 | 12 |
pankso@11 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 14 # |
pankso@11 | 15 # This package is all build by genpkg, it provide /usr/share/examples tree, |
pankso@11 | 16 # tazlito, tinyutils, licenses, documentation and artwork. This package |
pankso@11 | 17 # provide also the Firewall deamon/config (/etc/firewall.conf). |
pankso@11 | 18 # |
pankso@11 | 19 genpkg_rules() |
pankso@11 | 20 { |
pankso@194 | 21 mkdir -p $fs/sbin $fs/usr/bin \ |
pankso@194 | 22 $fs/usr/sbin $fs/var/spool/cron/crontabs \ |
pankso@194 | 23 $fs/usr/share |
pankso@11 | 24 |
pankso@11 | 25 # /rootfs/*. Firewall exemples, licenses and pixmaps. |
pankso@11 | 26 cp -a $src/rootfs/* $fs |
pankso@11 | 27 |
pankso@11 | 28 # Tinyutils. |
pankso@11 | 29 # |
pankso@11 | 30 cp -a $src/tinyutils/tazlocale $fs/sbin |
pankso@11 | 31 cp -a $src/tinyutils/tazkmap $fs/sbin |
pankso@11 | 32 cp -a $src/tinyutils/gztazmod.sh $fs/sbin |
pankso@11 | 33 cp -a $src/tinyutils/tazx $fs/usr/bin |
pankso@11 | 34 cp -a $src/tinyutils/startx $fs/usr/bin |
pankso@354 | 35 cp -a $src/tinyutils/history $fs/usr/bin |
pankso@138 | 36 |
pankso@138 | 37 # Gtkdialog boxes |
pankso@138 | 38 cp -a $src/tinyutils/burnbox $fs/usr/bin |
pankso@354 | 39 cp -a $src/tinyutils/jwmbgconf $fs/usr/bin |
pankso@11 | 40 cp -a $src/tinyutils/mountbox $fs/usr/bin |
pankso@138 | 41 cp -a $src/tinyutils/netbox $fs/usr/bin |
pankso@138 | 42 cp -a $src/tinyutils/scpbox $fs/usr/bin |
pankso@138 | 43 cp -a $src/tinyutils/subox $fs/usr/bin |
pankso@194 | 44 cp -a $src/stuff/desktop-files $fs/usr/share/applications |
pankso@11 | 45 |
pankso@354 | 46 # Tazlito Box |
pankso@354 | 47 cp -a $src/tinyutils/tazlitobox $fs/usr/bin |
pankso@354 | 48 |
pankso@11 | 49 # Sound config |
pankso@11 | 50 cp -a $src/tinyutils/soundconf $fs/usr/sbin |
pankso@11 | 51 |
pankso@266 | 52 # Installer's |
pankso@11 | 53 cp -a $src/tinyutils/slitaz-installer.sh $fs/usr/bin |
pankso@266 | 54 cp -a $src/installer/slitaz-installer $fs/usr/bin |
pankso@11 | 55 |
pankso@11 | 56 # Tools doc in /usr/share/doc/slitaz-tools |
pankso@11 | 57 # |
pankso@415 | 58 mkdir -p $fs/usr/share/doc/slitaz-tools |
pankso@11 | 59 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools |
pankso@401 | 60 |
pankso@425 | 61 # Gksu fake for pcmanfm |
pankso@425 | 62 cd $fs/usr/bin |
pankso@425 | 63 ln -s subox gksu |
pankso@425 | 64 |
pankso@401 | 65 chown -R root.root $fs |
pankso@401 | 66 chmod -R 755 $fs/usr/bin |
pankso@401 | 67 chmod -R 755 $fs/sbin |
pankso@11 | 68 } |