wok-current annotate slitaz-tools/receipt @ rev 805
Up: slitaz-tools (2.4) - Tazdialog, misc fixes, netbox icon...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 16 01:02:11 2008 +0200 (2008-05-16) |
parents | 5fb91a028ec9 |
children | 54ec4b7ae767 |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
pankso@805 | 4 VERSION="2.4" |
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@766 | 26 $fs/usr/lib/slitaz \ |
pankso@776 | 27 $fs/usr/share/doc/slitaz-tools \ |
pankso@776 | 28 $fs/usr/share/slitaz-tools/glade \ |
pankso@659 | 29 $fs/usr/share/slitaz-tools/installer |
pankso@775 | 30 |
pankso@11 | 31 # /rootfs/*. Firewall exemples, licenses and pixmaps. |
pankso@11 | 32 cp -a $src/rootfs/* $fs |
pankso@11 | 33 |
pankso@11 | 34 # Tinyutils. |
pankso@11 | 35 cp -a $src/tinyutils/tazlocale $fs/sbin |
pankso@716 | 36 cp -a $src/tinyutils/tazkeymap $fs/sbin |
pankso@11 | 37 cp -a $src/tinyutils/gztazmod.sh $fs/sbin |
pankso@659 | 38 cp -a $src/tinyutils/tazfile $fs/usr/bin |
pankso@11 | 39 cp -a $src/tinyutils/tazx $fs/usr/bin |
pankso@11 | 40 cp -a $src/tinyutils/startx $fs/usr/bin |
pankso@354 | 41 cp -a $src/tinyutils/history $fs/usr/bin |
pankso@805 | 42 cp -a $src/tinyutils/tazdialog $fs/usr/bin |
pankso@766 | 43 # Sound config |
pankso@766 | 44 cp -a $src/tinyutils/soundconf $fs/usr/sbin |
pankso@761 | 45 cp -a $src/tinyutils/setmixer $fs/usr/sbin |
pankso@775 | 46 |
pankso@138 | 47 # Gtkdialog boxes |
pankso@659 | 48 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin |
pankso@138 | 49 cp -a $src/tinyutils/burnbox $fs/usr/bin |
pankso@11 | 50 cp -a $src/tinyutils/mountbox $fs/usr/bin |
pankso@138 | 51 cp -a $src/tinyutils/netbox $fs/usr/bin |
pankso@138 | 52 cp -a $src/tinyutils/scpbox $fs/usr/bin |
pankso@138 | 53 cp -a $src/tinyutils/subox $fs/usr/bin |
pankso@660 | 54 cp -a $src/tinyutils/torrentbox $fs/usr/bin |
pankso@761 | 55 cp -a $src/tinyutils/desktopbox $fs/usr/bin |
pankso@805 | 56 |
pankso@766 | 57 # Tazlito Box --> tazlito ?? |
pankso@354 | 58 cp -a $src/tinyutils/tazlitobox $fs/usr/bin |
pankso@775 | 59 |
pankso@766 | 60 # Libs |
pankso@766 | 61 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz |
pankso@775 | 62 |
pankso@805 | 63 # Glade XML files |
pankso@805 | 64 cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade |
pankso@775 | 65 |
pankso@766 | 66 # *.desktop |
pankso@766 | 67 cp -a $src/stuff/desktop-files $fs/usr/share/applications |
pankso@775 | 68 |
pankso@266 | 69 # Installer's |
pankso@266 | 70 cp -a $src/installer/slitaz-installer $fs/usr/bin |
pankso@659 | 71 cp -a $src/installer/*.msg $fs/usr/share/slitaz-tools/installer |
pankso@775 | 72 |
pankso@11 | 73 # Tools doc in /usr/share/doc/slitaz-tools |
pankso@11 | 74 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools |
pankso@775 | 75 |
pankso@425 | 76 # Gksu fake for pcmanfm |
pankso@425 | 77 cd $fs/usr/bin |
pankso@425 | 78 ln -s subox gksu |
pankso@426 | 79 cd $WOK/$PACKAGE |
pankso@775 | 80 |
pankso@717 | 81 # Declare /etc/X11/screen.conf |
pankso@735 | 82 # |
pankso@735 | 83 # At the moment if /etc/X11/screen.conf exist there is no |
pankso@735 | 84 # screen config with tazx in Live mode. |
pankso@735 | 85 # |
pankso@735 | 86 #mkdir -p $fs/etc/X11 |
pankso@735 | 87 #touch $fs/etc/X11/screen.conf |
pankso@775 | 88 |
pankso@401 | 89 chown -R root.root $fs |
pankso@401 | 90 chmod -R 755 $fs/usr/bin |
pankso@401 | 91 chmod -R 755 $fs/sbin |
pankso@11 | 92 } |