wok-4.x annotate mtpaint/receipt @ rev 115
Set BUILD_DEPENDS for cairo, glib, atk and gtk+
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 05 00:17:11 2008 +0100 (2008-01-05) |
parents | 8e742fadbc43 |
children | 4959e5789caa |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="mtpaint" |
pankso@76 | 4 VERSION="3.20" |
pankso@42 | 5 CATEGORY="extra" |
pankso@42 | 6 SHORT_DESC="Light paint programm and image manipulation." |
pankso@42 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@42 | 8 DEPENDS="gtk+" |
pankso@42 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@42 | 10 WEB_SITE="http://mtpaint.sourceforge.net/" |
pankso@42 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@42 | 12 |
pankso@42 | 13 # Rules to configure and make the package. |
pankso@42 | 14 # |
pankso@42 | 15 # SliTaz use Tango icons, so we convert some for mtPaint. |
pankso@42 | 16 # |
pankso@42 | 17 compile_rules() |
pankso@42 | 18 { |
pankso@42 | 19 cp -a stuff/icons-tango $src/src |
pankso@42 | 20 cd $src |
pankso@42 | 21 ./configure --cpu=i486 --prefix=/usr intl icons-tango |
pankso@42 | 22 make |
pankso@42 | 23 } |
pankso@42 | 24 |
pankso@42 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 26 genpkg_rules() |
pankso@42 | 27 { |
pankso@42 | 28 mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \ |
pankso@42 | 29 $fs/usr/share/pixmaps |
pankso@42 | 30 cp -a $src/src/mtpaint $fs/usr/bin |
pankso@42 | 31 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo |
pankso@42 | 32 cp -a $src/src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm |
pankso@76 | 33 strip -s $fs/usr/bin/* |
pankso@42 | 34 } |