wok-4.x view mtpaint/receipt @ rev 883

Up: ruby (1.8.7) -Back to a stable release
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 07 11:10:44 2008 +0200 (2008-06-07)
parents eb4e6a1af180
children dad0d2002ac1
line source
1 # SliTaz package receipt.
3 PACKAGE="mtpaint"
4 VERSION="3.20"
5 CATEGORY="graphics"
6 SHORT_DESC="Light paint programm and image manipulation."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://mtpaint.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 #
15 # SliTaz use Tango icons, so we convert some for mtPaint.
16 #
17 compile_rules()
18 {
19 cp -a stuff/icons-tango $src/src
20 cd $src
21 ./configure --cpu=i486 --prefix=/usr intl icons-tango
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin \
29 $fs/usr/share/locale/fr/LC_MESSAGES \
30 $fs/usr/share/applications \
31 $fs/usr/share/pixmaps
32 cp -a $src/src/mtpaint $fs/usr/bin
33 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo
34 }