wok-4.x annotate slitaz-tools/receipt @ rev 847
Declare files in /etc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 19 09:03:51 2008 +0000 (2008-05-19) |
parents | 552ce3b24196 |
children | 02a65dfae818 |
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 |
pascal@847 | 36 touch $fs/etc/locale.conf |
pascal@847 | 37 touch $fs/etc/motd |
pankso@716 | 38 cp -a $src/tinyutils/tazkeymap $fs/sbin |
pascal@847 | 39 touch $fs/etc/keymap.conf |
pascal@847 | 40 touch $fs/etc/TZ |
pankso@11 | 41 cp -a $src/tinyutils/gztazmod.sh $fs/sbin |
pankso@659 | 42 cp -a $src/tinyutils/tazfile $fs/usr/bin |
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@766 | 62 # Tazlito Box --> tazlito ?? |
pankso@354 | 63 cp -a $src/tinyutils/tazlitobox $fs/usr/bin |
pankso@775 | 64 |
pankso@766 | 65 # Libs |
pankso@766 | 66 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz |
pankso@775 | 67 |
pankso@805 | 68 # Glade XML files |
pankso@805 | 69 cp -a $src/glade/*.glade $fs/usr/share/slitaz-tools/glade |
pankso@775 | 70 |
pankso@766 | 71 # *.desktop |
pankso@766 | 72 cp -a $src/stuff/desktop-files $fs/usr/share/applications |
pankso@775 | 73 |
pankso@266 | 74 # Installer's |
pankso@266 | 75 cp -a $src/installer/slitaz-installer $fs/usr/bin |
pankso@659 | 76 cp -a $src/installer/*.msg $fs/usr/share/slitaz-tools/installer |
pankso@775 | 77 |
pankso@11 | 78 # Tools doc in /usr/share/doc/slitaz-tools |
pankso@11 | 79 cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools |
pankso@775 | 80 |
pankso@425 | 81 # Gksu fake for pcmanfm |
pankso@425 | 82 cd $fs/usr/bin |
pankso@425 | 83 ln -s subox gksu |
pankso@426 | 84 cd $WOK/$PACKAGE |
pankso@775 | 85 |
pankso@717 | 86 # Declare /etc/X11/screen.conf |
pankso@735 | 87 # |
pankso@735 | 88 # At the moment if /etc/X11/screen.conf exist there is no |
pankso@735 | 89 # screen config with tazx in Live mode. |
pankso@735 | 90 # |
pankso@735 | 91 #mkdir -p $fs/etc/X11 |
pankso@735 | 92 #touch $fs/etc/X11/screen.conf |
pankso@775 | 93 |
pankso@401 | 94 chown -R root.root $fs |
pankso@401 | 95 chmod -R 755 $fs/usr/bin |
pankso@401 | 96 chmod -R 755 $fs/sbin |
pankso@11 | 97 } |