wok-current annotate slitaz-tools-boxes/receipt @ rev 5154
slitaz-tools-boxes:add serverbox
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Mar 24 06:44:20 2010 -0400 (2010-03-24) |
parents | 9cc2b61f2bfe |
children | cd0031eb1156 |
rev | line source |
---|---|
pankso@2094 | 1 # SliTaz package receipt. |
pankso@2094 | 2 |
pankso@2094 | 3 PACKAGE="slitaz-tools-boxes" |
pankso@5126 | 4 VERSION="3.6" |
pankso@2094 | 5 CATEGORY="system-tools" |
pankso@2094 | 6 SHORT_DESC="All SliTaz GTKdialog boxes to command line tools." |
pankso@2094 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5126 | 8 DEPENDS="slitaz-tools gtkdialog gettext-base" |
pankso@2094 | 9 WANTED="slitaz-tools" |
pankso@2094 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2094 | 11 WEB_SITE="http://www.slitaz.org/" |
pankso@2292 | 12 CONFIG_FILES="/etc/wireless" |
pankso@2094 | 13 |
pankso@2094 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2094 | 15 genpkg_rules() |
pankso@2094 | 16 { |
pankso@2094 | 17 mkdir -p \ |
pankso@2292 | 18 $fs/etc/wireless \ |
pankso@2094 | 19 $fs/usr/bin \ |
pankso@2123 | 20 $fs/usr/sbin \ |
pankso@2094 | 21 $fs/usr/lib/slitaz \ |
pankso@5126 | 22 $fs/usr/share/locale \ |
pankso@4343 | 23 $fs/usr/share/slitaz/messages/en \ |
pankso@4343 | 24 $fs/usr/share/doc/slitaz-tools |
pankso@4343 | 25 # Desktop files, icons and doc. |
pankso@2893 | 26 cp -a $src/rootfs/usr/share/applications $fs/usr/share |
pankso@2893 | 27 cp -a $src/rootfs/usr/share/pixmaps $fs/usr/share |
pankso@5126 | 28 cp -a $src/doc/*.html $fs/usr/share/doc/slitaz-tools |
pankso@2893 | 29 # Gtkdialog boxes. |
pankso@2094 | 30 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin |
pankso@2094 | 31 cp -a $src/tinyutils/burnbox $fs/usr/bin |
pankso@2094 | 32 cp -a $src/tinyutils/mountbox $fs/usr/bin |
pankso@2094 | 33 cp -a $src/tinyutils/netbox $fs/usr/bin |
jozee@5154 | 34 cp -a $src/tinyutils/serverbox $fs/usr/bin |
pankso@2292 | 35 cp -a $src/tinyutils/wifibox $fs/usr/bin |
pankso@2094 | 36 cp -a $src/tinyutils/scpbox $fs/usr/bin |
pankso@2094 | 37 cp -a $src/tinyutils/subox $fs/usr/bin |
pankso@2094 | 38 cp -a $src/tinyutils/desktopbox $fs/usr/bin |
pankso@4711 | 39 cp -a $src/tinyutils/sshbox $fs/usr/bin |
pankso@2094 | 40 cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin |
pankso@5126 | 41 # Libs. |
pankso@2094 | 42 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz |
pankso@5126 | 43 # Default English messages (will move to po) |
pankso@3083 | 44 cp -a $src/messages/en/desktopbox.msg $fs/usr/share/slitaz/messages/en |
pankso@5126 | 45 # i18n |
pankso@5126 | 46 for l in `ls $src/po/mo` |
pankso@5126 | 47 do |
pankso@5126 | 48 mkdir -p $fs/usr/share/locale/$l/LC_MESSAGES |
pankso@5126 | 49 cp -a $src/po/mo/$l/* $fs/usr/share/locale/$l/LC_MESSAGES |
pankso@5126 | 50 done |
pankso@2893 | 51 # Gksu fake for pcmanfm. |
pankso@2094 | 52 cd $fs/usr/bin |
pankso@2094 | 53 ln -s subox gksu |
pankso@2094 | 54 cd $WOK/$PACKAGE |
pankso@2893 | 55 # Permissions. |
pankso@2094 | 56 chown -R root.root $fs |
pankso@2094 | 57 chmod -R 755 $fs/usr/bin |
pankso@2094 | 58 } |