wok annotate mtpaint/receipt @ rev 11923
squidclamav: move cgi scripts to /var/www/cgi-bin
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 01:10:26 2012 +0100 (2012-03-01) |
parents | 4a8d626e353b |
children | 1d7ed7daacdd |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="mtpaint" |
samuel_trassare@11766 | 4 VERSION="3.40" |
pankso@207 | 5 CATEGORY="graphics" |
pankso@42 | 6 SHORT_DESC="Light paint programm and image manipulation." |
pankso@42 | 7 MAINTAINER="pankso@slitaz.org" |
samuel_trassare@11766 | 8 DEPENDS="gtk+ tiff xorg-libXdamage lcms" |
samuel_trassare@11766 | 9 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config xorg-xproto bzip2 acl lcms-dev" |
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@10741 | 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 } |