wok-stable view mtpaint/receipt @ rev 2422

xorg-server: update build_depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 11 10:52:53 2009 +0000 (2009-03-11)
parents 3d99ecce2d4b
children cde7fa93f1d6
line source
1 # SliTaz package receipt.
3 PACKAGE="mtpaint"
4 VERSION="3.30"
5 CATEGORY="graphics"
6 SHORT_DESC="Light paint programm and image manipulation."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config xorg-xproto"
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 --cpu=i486 --prefix=/usr intl &&
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $src/src/mtpaint $fs/usr/bin
31 # Get locale from tazwok.conf
32 for i in $LOCALE
33 do
34 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
35 cp -a $src/po/$i.mo $fs/usr/share/locale/$i/LC_MESSAGES/mtpaint.mo
36 done
37 }