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