wok-next annotate slitaz-tools-boxes/receipt @ rev 7747
Up: libdaq to 0.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Dec 20 17:50:06 2010 +0000 (2010-12-20) |
parents | a2df966cbeaa |
children | befeaf62eabc |
rev | line source |
---|---|
pankso@2094 | 1 # SliTaz package receipt. |
pankso@2094 | 2 |
pankso@2094 | 3 PACKAGE="slitaz-tools-boxes" |
gokhlayeh@7004 | 4 VERSION="3.9.1" |
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 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 |
pankso@2094 | 39 cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin |
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 } |