wok-4.x annotate slitaz-tools/receipt @ rev 716
Up: slitaz-tools (2.1) - Netbox improved and new tazkeymap utility
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 21:02:08 2008 +0200 (2008-05-02) |
parents | 3989e3ffe4d1 |
children | ffbc7821af0e |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
pankso@716 | 4 VERSION="2.1" |
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@138 | 40 |
pankso@138 | 41 # Gtkdialog boxes |
pankso@659 | 42 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin |
pankso@138 | 43 cp -a $src/tinyutils/burnbox $fs/usr/bin |
pankso@11 | 44 cp -a $src/tinyutils/mountbox $fs/usr/bin |
pankso@138 | 45 cp -a $src/tinyutils/netbox $fs/usr/bin |
pankso@138 | 46 cp -a $src/tinyutils/scpbox $fs/usr/bin |
pankso@138 | 47 cp -a $src/tinyutils/subox $fs/usr/bin |
pankso@660 | 48 cp -a $src/tinyutils/torrentbox $fs/usr/bin |
pankso@659 | 49 |
pankso@194 | 50 cp -a $src/stuff/desktop-files $fs/usr/share/applications |
pankso@11 | 51 |
pankso@354 | 52 # Tazlito Box |
pankso@354 | 53 cp -a $src/tinyutils/tazlitobox $fs/usr/bin |
pankso@354 | 54 |
pankso@11 | 55 # Sound config |
pankso@11 | 56 cp -a $src/tinyutils/soundconf $fs/usr/sbin |
pankso@11 | 57 |
pankso@266 | 58 # Installer's |
pankso@266 | 59 cp -a $src/installer/slitaz-installer $fs/usr/bin |
pankso@659 | 60 cp -a $src/installer/*.msg $fs/usr/share/slitaz-tools/installer |
pankso@11 | 61 |
pankso@11 | 62 # Tools doc in /usr/share/doc/slitaz-tools |
pankso@11 | 63 # |
pankso@415 | 64 mkdir -p $fs/usr/share/doc/slitaz-tools |
pankso@11 | 65 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools |
pankso@401 | 66 |
pankso@425 | 67 # Gksu fake for pcmanfm |
pankso@425 | 68 cd $fs/usr/bin |
pankso@425 | 69 ln -s subox gksu |
pankso@426 | 70 cd $WOK/$PACKAGE |
pankso@425 | 71 |
pankso@401 | 72 chown -R root.root $fs |
pankso@401 | 73 chmod -R 755 $fs/usr/bin |
pankso@401 | 74 chmod -R 755 $fs/sbin |
pascal@693 | 75 |
pascal@693 | 76 # Declare /etc/X11/screen.conf |
pascal@693 | 77 touch $fs/etc/X11/screen.conf |
pankso@11 | 78 } |