wok-current annotate slitaz-tools-boxes/receipt @ rev 10788

gtkdialog: remove example and desktop file
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 19:42:36 2011 +0200 (2011-06-01)
parents c6d6e79253e1
children b9761d32a594
rev   line source
pankso@2094 1 # SliTaz package receipt.
pankso@2094 2
pankso@2094 3 PACKAGE="slitaz-tools-boxes"
pankso@10718 4 VERSION="4.2.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@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@10788 28
pankso@5126 29 # Libs.
pankso@2094 30 cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
pankso@5126 31 # Default English messages (will move to po)
pankso@3083 32 cp -a $src/messages/en/desktopbox.msg $fs/usr/share/slitaz/messages/en
pankso@5126 33 # i18n
pankso@5126 34 for l in `ls $src/po/mo`
pankso@5126 35 do
pankso@5126 36 mkdir -p $fs/usr/share/locale/$l/LC_MESSAGES
pankso@5126 37 cp -a $src/po/mo/$l/* $fs/usr/share/locale/$l/LC_MESSAGES
pankso@5126 38 done
pankso@2893 39 # Gksu fake for pcmanfm.
pankso@2094 40 cd $fs/usr/bin
pankso@2094 41 ln -s subox gksu
pankso@2094 42 cd $WOK/$PACKAGE
pankso@2893 43 # Permissions.
pankso@2094 44 chown -R root.root $fs
pankso@2094 45 chmod -R 755 $fs/usr/bin
pankso@2094 46 }