wok annotate mtpaint/receipt @ rev 10312
thunar-archive-plugin: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 21:29:32 2011 +0000 (2011-05-21) |
parents | 29d2b6fe566a |
children | 4a8d626e353b |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="mtpaint" |
slaxemulator@5406 | 4 VERSION="3.31" |
pankso@207 | 5 CATEGORY="graphics" |
pankso@42 | 6 SHORT_DESC="Light paint programm and image manipulation." |
pankso@42 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2519 | 8 DEPENDS="gtk+ tiff xorg-libXdamage" |
slaxemulator@5406 | 9 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config xorg-xproto bzip2 acl" |
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@4324 | 22 ./configure \ |
pankso@4324 | 23 --cpu=i486 \ |
pankso@4324 | 24 --prefix=/usr \ |
pankso@4324 | 25 intl nogif && |
pankso@42 | 26 make |
pankso@42 | 27 } |
pankso@42 | 28 |
pankso@42 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 30 genpkg_rules() |
pankso@42 | 31 { |
pankso@2296 | 32 mkdir -p $fs/usr/bin |
pankso@42 | 33 cp -a $src/src/mtpaint $fs/usr/bin |
pankso@2296 | 34 # Get locale from tazwok.conf |
pankso@2296 | 35 for i in $LOCALE |
pankso@2296 | 36 do |
pankso@2296 | 37 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES |
pankso@2296 | 38 cp -a $src/po/$i.mo $fs/usr/share/locale/$i/LC_MESSAGES/mtpaint.mo |
pankso@2296 | 39 done |
pankso@42 | 40 } |