wok-next view mtpaint/receipt @ rev 11720

Back to 23.3. Broken build on BB, although it's ok in my chrooted env
author Dominique Corbex <domcox@slitaz.org>
date Mon Feb 20 17:53:47 2012 +0100 (2012-02-20)
parents a160c6a22642
children 61ea7838a191
line source
1 # SliTaz package receipt.
3 PACKAGE="mtpaint"
4 VERSION="3.31"
5 CATEGORY="graphics"
6 SHORT_DESC="Light paint programm and image manipulation."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ tiff xorg-libXdamage"
9 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config xorg-xproto bzip2 acl"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://mtpaint.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 #
16 # SliTaz use Tango icons, so we convert some for mtPaint.
17 #
18 compile_rules()
19 {
20 cp -a $stuff/icons-tango/* $src/src/icons1
21 cd $src
22 ./configure \
23 --cpu=i486 \
24 --prefix=/usr \
25 intl nogif &&
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/src/mtpaint $fs/usr/bin
34 # Get locale from tazwok.conf
35 for i in $LOCALE
36 do
37 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
38 cp -a $src/po/$i.mo $fs/usr/share/locale/$i/LC_MESSAGES/mtpaint.mo
39 done
40 }