wok annotate slitaz-tools-boxes/receipt @ rev 10595
samba: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 12:47:25 2011 +0200 (2011-05-26) |
parents | b29f64cae621 |
children | c6d6e79253e1 |
rev | line source |
---|---|
pankso@2094 | 1 # SliTaz package receipt. |
pankso@2094 | 2 |
pankso@2094 | 3 PACKAGE="slitaz-tools-boxes" |
pankso@9871 | 4 VERSION="4.2" |
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@9871 | 8 DEPENDS="slitaz-tools gtkdialog gettext-base yad" |
pankso@2094 | 9 WANTED="slitaz-tools" |
pankso@2094 | 10 WEB_SITE="http://www.slitaz.org/" |
pankso@2292 | 11 CONFIG_FILES="/etc/wireless" |
pankso@2094 | 12 |
pankso@2094 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2094 | 14 genpkg_rules() |
pankso@2094 | 15 { |
pankso@2094 | 16 mkdir -p \ |
pankso@2292 | 17 $fs/etc/wireless \ |
pankso@2094 | 18 $fs/usr/bin \ |
pankso@2123 | 19 $fs/usr/sbin \ |
pankso@2094 | 20 $fs/usr/lib/slitaz \ |
pankso@5126 | 21 $fs/usr/share/locale \ |
pankso@4343 | 22 $fs/usr/share/slitaz/messages/en \ |
pankso@4343 | 23 $fs/usr/share/doc/slitaz-tools |
pankso@4343 | 24 # Desktop files, icons and doc. |
pankso@2893 | 25 cp -a $src/rootfs/usr/share/applications $fs/usr/share |
pankso@2893 | 26 cp -a $src/rootfs/usr/share/pixmaps $fs/usr/share |
pankso@5126 | 27 cp -a $src/doc/*.html $fs/usr/share/doc/slitaz-tools |
pankso@2893 | 28 # Gtkdialog boxes. |
pankso@2094 | 29 cp -a $src/tinyutils/bootfloppybox $fs/usr/bin |
pankso@2094 | 30 cp -a $src/tinyutils/burnbox $fs/usr/bin |
pankso@2094 | 31 cp -a $src/tinyutils/mountbox $fs/usr/bin |
pankso@2094 | 32 cp -a $src/tinyutils/netbox $fs/usr/bin |
jozee@5154 | 33 cp -a $src/tinyutils/serverbox $fs/usr/bin |
pankso@2292 | 34 cp -a $src/tinyutils/wifibox $fs/usr/bin |
pankso@2094 | 35 cp -a $src/tinyutils/scpbox $fs/usr/bin |
pankso@2094 | 36 cp -a $src/tinyutils/subox $fs/usr/bin |
pankso@2094 | 37 cp -a $src/tinyutils/desktopbox $fs/usr/bin |
pankso@4711 | 38 cp -a $src/tinyutils/sshbox $fs/usr/bin |
slaxemulator@9620 | 39 cp -a $src/tazbox/tazbox $fs/usr/bin |
pankso@5126 | 40 # Libs. |
pankso@2094 | 41 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz |
pankso@5126 | 42 # Default English messages (will move to po) |
pankso@3083 | 43 cp -a $src/messages/en/desktopbox.msg $fs/usr/share/slitaz/messages/en |
pankso@5126 | 44 # i18n |
pankso@5126 | 45 for l in `ls $src/po/mo` |
pankso@5126 | 46 do |
pankso@5126 | 47 mkdir -p $fs/usr/share/locale/$l/LC_MESSAGES |
pankso@5126 | 48 cp -a $src/po/mo/$l/* $fs/usr/share/locale/$l/LC_MESSAGES |
pankso@5126 | 49 done |
pankso@2893 | 50 # Gksu fake for pcmanfm. |
pankso@2094 | 51 cd $fs/usr/bin |
pankso@2094 | 52 ln -s subox gksu |
pankso@2094 | 53 cd $WOK/$PACKAGE |
pankso@2893 | 54 # Permissions. |
pankso@2094 | 55 chown -R root.root $fs |
pankso@2094 | 56 chmod -R 755 $fs/usr/bin |
pankso@2094 | 57 } |