wok-4.x diff mtpaint/receipt @ rev 2339

gpxe-pxe: url redondancy setup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 02 08:57:35 2009 +0000 (2009-03-02)
parents 3d99ecce2d4b
children cde7fa93f1d6
line diff
     1.1 --- a/mtpaint/receipt	Sun Oct 05 23:16:15 2008 +0000
     1.2 +++ b/mtpaint/receipt	Mon Mar 02 08:57:35 2009 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mtpaint"
     1.7 -VERSION="3.21"
     1.8 +VERSION="3.30"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Light paint programm and image manipulation."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -17,19 +17,21 @@
    1.13  #
    1.14  compile_rules()
    1.15  {
    1.16 -	cp -a stuff/icons-tango $src/src
    1.17 +	cp -a stuff/icons-tango/* $src/src/icons1
    1.18  	cd $src
    1.19 -	./configure --cpu=i486 --prefix=/usr intl icons-tango &&
    1.20 +	./configure --cpu=i486 --prefix=/usr intl &&
    1.21  	make
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	mkdir -p $fs/usr/bin \
    1.28 -		$fs/usr/share/locale/fr/LC_MESSAGES \
    1.29 -		$fs/usr/share/applications \
    1.30 -		$fs/usr/share/pixmaps
    1.31 +	mkdir -p $fs/usr/bin
    1.32  	cp -a $src/src/mtpaint $fs/usr/bin
    1.33 -	cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo
    1.34 +	# Get locale from tazwok.conf
    1.35 +	for i in $LOCALE
    1.36 +	do
    1.37 +		mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
    1.38 +		cp -a $src/po/$i.mo $fs/usr/share/locale/$i/LC_MESSAGES/mtpaint.mo
    1.39 +	done
    1.40  }