wok-6.x view mtpaint/receipt @ rev 742
Fix known categories
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 05 14:16:26 2008 +0000 (2008-05-05) |
parents | da3db93fa32e |
children | 296dbd15f4b2 |
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 cp -a $src/src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm
35 }