wok rev 5126

Up: slitaz-tools (3.6) Lots of fixes and improvments
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 21 13:37:33 2010 +0100 (2010-03-21)
parents c656dd6befc1
children a57f6141ce9e
files slitaz-tools-boxes/receipt slitaz-tools/receipt
line diff
     1.1 --- a/slitaz-tools-boxes/receipt	Sun Mar 21 12:10:25 2010 +0100
     1.2 +++ b/slitaz-tools-boxes/receipt	Sun Mar 21 13:37:33 2010 +0100
     1.3 @@ -1,11 +1,11 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slitaz-tools-boxes"
     1.7 -VERSION="3.5"
     1.8 +VERSION="3.6"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="All SliTaz GTKdialog boxes to command line tools."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="slitaz-tools gtkdialog"
    1.13 +DEPENDS="slitaz-tools gtkdialog gettext-base"
    1.14  WANTED="slitaz-tools"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://www.slitaz.org/"
    1.17 @@ -19,13 +19,13 @@
    1.18  		$fs/usr/bin \
    1.19  		$fs/usr/sbin \
    1.20  		$fs/usr/lib/slitaz \
    1.21 -		$fs/usr/share/slitaz/glade \
    1.22 +		$fs/usr/share/locale \
    1.23  		$fs/usr/share/slitaz/messages/en \
    1.24  		$fs/usr/share/doc/slitaz-tools
    1.25  	# Desktop files, icons and doc.
    1.26  	cp -a $src/rootfs/usr/share/applications $fs/usr/share
    1.27  	cp -a $src/rootfs/usr/share/pixmaps $fs/usr/share
    1.28 -	cp -a $src/doc/burnbox.html $fs/usr/share/doc/slitaz-tools
    1.29 +	cp -a $src/doc/*.html $fs/usr/share/doc/slitaz-tools
    1.30  	# Gtkdialog boxes.
    1.31  	cp -a $src/tinyutils/bootfloppybox $fs/usr/bin
    1.32  	cp -a $src/tinyutils/burnbox $fs/usr/bin
    1.33 @@ -37,11 +37,16 @@
    1.34  	cp -a $src/tinyutils/desktopbox $fs/usr/bin
    1.35  	cp -a $src/tinyutils/sshbox $fs/usr/bin
    1.36  	cp -a $src/tinyutils/tazctrlbox $fs/usr/sbin
    1.37 -	# Libs and Glade XML files.
    1.38 +	# Libs.
    1.39  	cp -a $src/lib/[a-z]* $fs/usr/lib/slitaz
    1.40 -	cp -a $src/glade/*.glade $fs/usr/share/slitaz/glade
    1.41 -	# Default English messages
    1.42 +	# Default English messages (will move to po)
    1.43  	cp -a $src/messages/en/desktopbox.msg $fs/usr/share/slitaz/messages/en
    1.44 +	# i18n
    1.45 +	for l in `ls $src/po/mo`
    1.46 +	do
    1.47 +		mkdir -p $fs/usr/share/locale/$l/LC_MESSAGES
    1.48 +		cp -a $src/po/mo/$l/* $fs/usr/share/locale/$l/LC_MESSAGES
    1.49 +	done
    1.50  	# Gksu fake for pcmanfm.
    1.51  	cd $fs/usr/bin
    1.52  	ln -s subox gksu
     2.1 --- a/slitaz-tools/receipt	Sun Mar 21 12:10:25 2010 +0100
     2.2 +++ b/slitaz-tools/receipt	Sun Mar 21 13:37:33 2010 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="slitaz-tools"
     2.7 -VERSION="3.5"
     2.8 +VERSION="3.6"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="SliTaz tools provide installer and utils usable on termnial."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -19,9 +19,16 @@
    2.13  /etc/firewall.conf
    2.14  /etc/slitaz/applications.conf"
    2.15  
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +    cd $src
    2.20 +    make msgfmt
    2.21 +}
    2.22 +
    2.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.24  #
    2.25 -# This package is all build by genpkg, it provide /usr/share/examples tree,
    2.26 +# This package is moslty build by genpkg, it provide /usr/share/examples tree,
    2.27  # tazlito, tinyutils, licenses, documentation and artwork. This package
    2.28  # provide also the Firewall deamon/config (/etc/firewall.conf).
    2.29  #