wok-6.x rev 2296

Up: mtpaint (3.30)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 22 22:44:39 2009 +0100 (2009-02-22)
parents e4c8c75480ef
children 16450052086f
files mtpaint/receipt
line diff
     1.1 --- a/mtpaint/receipt	Sun Feb 22 22:41:59 2009 +0100
     1.2 +++ b/mtpaint/receipt	Sun Feb 22 22:44:39 2009 +0100
     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  }