wok-4.x annotate mtpaint/receipt @ rev 2296
Up: mtpaint (3.30)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 22 22:44:39 2009 +0100 (2009-02-22) |
parents | 3d99ecce2d4b |
children | cde7fa93f1d6 |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="mtpaint" |
pankso@2296 | 4 VERSION="3.30" |
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@1511 | 9 BUILD_DEPENDS="gtk+ gtk+-dev 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@2296 | 20 cp -a stuff/icons-tango/* $src/src/icons1 |
pankso@42 | 21 cd $src |
pankso@2296 | 22 ./configure --cpu=i486 --prefix=/usr intl && |
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@2296 | 29 mkdir -p $fs/usr/bin |
pankso@42 | 30 cp -a $src/src/mtpaint $fs/usr/bin |
pankso@2296 | 31 # Get locale from tazwok.conf |
pankso@2296 | 32 for i in $LOCALE |
pankso@2296 | 33 do |
pankso@2296 | 34 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES |
pankso@2296 | 35 cp -a $src/po/$i.mo $fs/usr/share/locale/$i/LC_MESSAGES/mtpaint.mo |
pankso@2296 | 36 done |
pankso@42 | 37 } |