wok-4.x annotate mtpaint/receipt @ rev 1460
aterm beaver chemtool gftp grisbi gtick gtk-gnutella klavaro leafpad mtpaint sylpheed wine xpad: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 20:14:14 2008 +0000 (2008-10-03) |
parents | dad0d2002ac1 |
children | 3d99ecce2d4b |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="mtpaint" |
pankso@889 | 4 VERSION="3.21" |
pankso@207 | 5 CATEGORY="graphics" |
pankso@42 | 6 SHORT_DESC="Light paint programm and image manipulation." |
pankso@42 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@42 | 8 DEPENDS="gtk+" |
pascal@1460 | 9 BUILD_DEPENDS="gtk+ pkg-config xorg-xproto" |
pankso@42 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@42 | 11 WEB_SITE="http://mtpaint.sourceforge.net/" |
pankso@42 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@42 | 13 |
pankso@42 | 14 # Rules to configure and make the package. |
pankso@42 | 15 # |
pankso@42 | 16 # SliTaz use Tango icons, so we convert some for mtPaint. |
pankso@42 | 17 # |
pankso@42 | 18 compile_rules() |
pankso@42 | 19 { |
pankso@42 | 20 cp -a stuff/icons-tango $src/src |
pankso@42 | 21 cd $src |
pascal@1460 | 22 ./configure --cpu=i486 --prefix=/usr intl icons-tango && |
pankso@42 | 23 make |
pankso@42 | 24 } |
pankso@42 | 25 |
pankso@42 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 27 genpkg_rules() |
pankso@42 | 28 { |
pankso@161 | 29 mkdir -p $fs/usr/bin \ |
pankso@161 | 30 $fs/usr/share/locale/fr/LC_MESSAGES \ |
pankso@161 | 31 $fs/usr/share/applications \ |
pankso@161 | 32 $fs/usr/share/pixmaps |
pankso@42 | 33 cp -a $src/src/mtpaint $fs/usr/bin |
pankso@42 | 34 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo |
pankso@42 | 35 } |