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

Add : xorg-libXtst-dev
author Christophe Lincoln <pankso@slitaz.org>
date Sun Dec 23 12:36:54 2007 +0100 (2007-12-23)
parents
children efc4bde14c2d
line source
1 # SliTaz package receipt.
3 PACKAGE="mtpaint"
4 VERSION="3.11"
5 CATEGORY="extra"
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 strip src/mtpaint
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \
30 $fs/usr/share/pixmaps
31 cp -a $src/src/mtpaint $fs/usr/bin
32 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo
33 cp -a $src/src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm
34 }