wok view mtpaint/receipt @ rev 13436
Up: claws-mail-attremover(1.0.14)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 07 01:18:17 2012 +0200 (2012-10-07) |
parents | 61ea7838a191 |
children | 8666107f2678 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mtpaint"
4 VERSION="3.40"
5 CATEGORY="graphics"
6 SHORT_DESC="Light paint programm and image manipulation."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://mtpaint.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="gtk+ libpng lcms"
13 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cp -a $stuff/icons/*.xpm $src/src/icons1
19 cd $src
20 ./configure \
21 --cpu=i486 \
22 --prefix=/usr \
23 intl nogif &&
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/src/mtpaint $fs/usr/bin
32 # Get locale from tazwok.conf
33 for i in $LOCALE
34 do
35 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
36 cp -a $src/po/$i.mo $fs/usr/share/locale/$i/LC_MESSAGES/mtpaint.mo
37 done
38 }