wok-4.x annotate slitaz-tools/receipt @ rev 761
Up: slitaz-tools (2.2) with desktopbox and improved netbox
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 09 17:57:15 2008 +0200 (2008-05-09) |
parents | 227d295f17c2 |
children | 7257f650372e |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
pankso@761 | 4 VERSION="2.2" |
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@659 | 21 mkdir -p \ |
pankso@659 | 22 $fs/sbin \ |
pankso@659 | 23 $fs/usr/bin \ |
pankso@659 | 24 $fs/usr/sbin \ |
pankso@659 | 25 $fs/var/spool/cron/crontabs \ |
pankso@659 | 26 $fs/usr/share/slitaz-tools/installer |
pankso@659 | 27 |
pankso@11 | 28 # /rootfs/*. Firewall exemples, licenses and pixmaps. |
pankso@11 | 29 cp -a $src/rootfs/* $fs |
pankso@11 | 30 |
pankso@11 | 31 # Tinyutils. |
pankso@11 | 32 # |
pankso@11 | 33 cp -a $src/tinyutils/tazlocale $fs/sbin |
pankso@716 | 34 cp -a $src/tinyutils/tazkeymap $fs/sbin |
pankso@11 | 35 cp -a $src/tinyutils/gztazmod.sh $fs/sbin |
pankso@659 | 36 cp -a $src/tinyutils/tazfile $fs/usr/bin |
pankso@11 | 37 cp -a $src/tinyutils/tazx $fs/usr/bin |
pankso@11 | 38 cp -a $src/tinyutils/startx $fs/usr/bin |
pankso@354 | 39 cp -a $src/tinyutils/history $fs/usr/bin |
pankso@761 | 40 cp -a $src/tinyutils/setmixer $fs/usr/sbin |
pankso@138 | 41 |
pankso@138 | 42 # Gtkdialog boxes |
pankso@659 | 43 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin |
pankso@138 | 44 cp -a $src/tinyutils/burnbox $fs/usr/bin |
pankso@11 | 45 cp -a $src/tinyutils/mountbox $fs/usr/bin |
pankso@138 | 46 cp -a $src/tinyutils/netbox $fs/usr/bin |
pankso@138 | 47 cp -a $src/tinyutils/scpbox $fs/usr/bin |
pankso@138 | 48 cp -a $src/tinyutils/subox $fs/usr/bin |
pankso@660 | 49 cp -a $src/tinyutils/torrentbox $fs/usr/bin |
pankso@761 | 50 cp -a $src/tinyutils/desktopbox $fs/usr/bin |
pankso@659 | 51 |
pankso@194 | 52 cp -a $src/stuff/desktop-files $fs/usr/share/applications |
pankso@11 | 53 |
pankso@354 | 54 # Tazlito Box |
pankso@354 | 55 cp -a $src/tinyutils/tazlitobox $fs/usr/bin |
pankso@354 | 56 |
pankso@11 | 57 # Sound config |
pankso@11 | 58 cp -a $src/tinyutils/soundconf $fs/usr/sbin |
pankso@11 | 59 |
pankso@266 | 60 # Installer's |
pankso@266 | 61 cp -a $src/installer/slitaz-installer $fs/usr/bin |
pankso@659 | 62 cp -a $src/installer/*.msg $fs/usr/share/slitaz-tools/installer |
pankso@11 | 63 |
pankso@11 | 64 # Tools doc in /usr/share/doc/slitaz-tools |
pankso@11 | 65 # |
pankso@415 | 66 mkdir -p $fs/usr/share/doc/slitaz-tools |
pankso@11 | 67 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools |
pankso@401 | 68 |
pankso@425 | 69 # Gksu fake for pcmanfm |
pankso@425 | 70 cd $fs/usr/bin |
pankso@425 | 71 ln -s subox gksu |
pankso@426 | 72 cd $WOK/$PACKAGE |
pankso@425 | 73 |
pankso@717 | 74 # Declare /etc/X11/screen.conf |
pankso@735 | 75 # |
pankso@735 | 76 # At the moment if /etc/X11/screen.conf exist there is no |
pankso@735 | 77 # screen config with tazx in Live mode. |
pankso@735 | 78 # |
pankso@735 | 79 #mkdir -p $fs/etc/X11 |
pankso@735 | 80 #touch $fs/etc/X11/screen.conf |
pankso@717 | 81 |
pankso@401 | 82 chown -R root.root $fs |
pankso@401 | 83 chmod -R 755 $fs/usr/bin |
pankso@401 | 84 chmod -R 755 $fs/sbin |
pankso@11 | 85 } |