wok annotate slitaz-tools/receipt @ rev 994
syslinux: add logo.png
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 05 14:14:00 2008 +0000 (2008-07-05) |
parents | 3608a7f05743 |
children | f85039722135 |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
pankso@947 | 4 VERSION="2.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@659 | 21 mkdir -p \ |
pankso@659 | 22 $fs/sbin \ |
pankso@659 | 23 $fs/usr/bin \ |
pankso@659 | 24 $fs/usr/sbin \ |
pankso@892 | 25 $fs/etc/X11 \ |
pankso@659 | 26 $fs/var/spool/cron/crontabs \ |
pankso@766 | 27 $fs/usr/lib/slitaz \ |
pankso@776 | 28 $fs/usr/share/doc/slitaz-tools \ |
pankso@776 | 29 $fs/usr/share/slitaz-tools/glade \ |
pankso@659 | 30 $fs/usr/share/slitaz-tools/installer |
pankso@775 | 31 |
pankso@892 | 32 # /rootfs/*. Firewall exemples, licenses, pixmaps and desktop files. |
pankso@11 | 33 cp -a $src/rootfs/* $fs |
pankso@11 | 34 |
pankso@11 | 35 # Tinyutils. |
pankso@11 | 36 cp -a $src/tinyutils/tazlocale $fs/sbin |
pascal@847 | 37 touch $fs/etc/locale.conf |
pascal@847 | 38 touch $fs/etc/motd |
pankso@716 | 39 cp -a $src/tinyutils/tazkeymap $fs/sbin |
pascal@847 | 40 touch $fs/etc/keymap.conf |
pascal@847 | 41 touch $fs/etc/TZ |
pankso@11 | 42 cp -a $src/tinyutils/gztazmod.sh $fs/sbin |
pankso@11 | 43 cp -a $src/tinyutils/tazx $fs/usr/bin |
pascal@847 | 44 touch $fs/etc/X11/screen.conf |
pankso@11 | 45 cp -a $src/tinyutils/startx $fs/usr/bin |
pankso@354 | 46 cp -a $src/tinyutils/history $fs/usr/bin |
pankso@805 | 47 cp -a $src/tinyutils/tazdialog $fs/usr/bin |
pankso@766 | 48 # Sound config |
pankso@766 | 49 cp -a $src/tinyutils/soundconf $fs/usr/sbin |
pankso@761 | 50 cp -a $src/tinyutils/setmixer $fs/usr/sbin |
pankso@775 | 51 |
pankso@138 | 52 # Gtkdialog boxes |
pankso@659 | 53 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin |
pankso@138 | 54 cp -a $src/tinyutils/burnbox $fs/usr/bin |
pankso@11 | 55 cp -a $src/tinyutils/mountbox $fs/usr/bin |
pankso@138 | 56 cp -a $src/tinyutils/netbox $fs/usr/bin |
pankso@138 | 57 cp -a $src/tinyutils/scpbox $fs/usr/bin |
pankso@138 | 58 cp -a $src/tinyutils/subox $fs/usr/bin |
pankso@660 | 59 cp -a $src/tinyutils/torrentbox $fs/usr/bin |
pankso@761 | 60 cp -a $src/tinyutils/desktopbox $fs/usr/bin |
pankso@805 | 61 |
pankso@892 | 62 # Libs and Glade XML files. |
pankso@766 | 63 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz |
pankso@805 | 64 cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade |
pankso@775 | 65 |
pankso@266 | 66 # Installer's |
pankso@266 | 67 cp -a $src/installer/slitaz-installer $fs/usr/bin |
pankso@659 | 68 cp -a $src/installer/*.msg $fs/usr/share/slitaz-tools/installer |
pankso@775 | 69 |
pankso@11 | 70 # Tools doc in /usr/share/doc/slitaz-tools |
pankso@892 | 71 cp $src/doc/* $fs/usr/share/doc/slitaz-tools |
pankso@775 | 72 |
pankso@425 | 73 # Gksu fake for pcmanfm |
pankso@425 | 74 cd $fs/usr/bin |
pankso@425 | 75 ln -s subox gksu |
pankso@426 | 76 cd $WOK/$PACKAGE |
pankso@775 | 77 |
pankso@401 | 78 chown -R root.root $fs |
pankso@401 | 79 chmod -R 755 $fs/usr/bin |
pankso@401 | 80 chmod -R 755 $fs/sbin |
pankso@11 | 81 } |