wok-current view mtpaint/receipt @ rev 142

UP : grsync (0.6.1)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 21 14:27:22 2008 +0100 (2008-01-21)
parents 8e742fadbc43
children 4959e5789caa
line source
1 # SliTaz package receipt.
3 PACKAGE="mtpaint"
4 VERSION="3.20"
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 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \
29 $fs/usr/share/pixmaps
30 cp -a $src/src/mtpaint $fs/usr/bin
31 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo
32 cp -a $src/src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm
33 strip -s $fs/usr/bin/*
34 }