wok annotate mtpaint/receipt @ rev 12712

tazpanel: up 1.5.7
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 04 23:02:16 2012 +0300 (2012-05-04)
parents 61ea7838a191
children 8666107f2678
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"
pankso@42 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@42 9 WEB_SITE="http://mtpaint.sourceforge.net/"
pankso@42 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@42 11
pankso@12120 12 DEPENDS="gtk+ libpng lcms"
pankso@12120 13 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev"
pankso@12120 14
pankso@42 15 # Rules to configure and make the package.
pankso@42 16 compile_rules()
pankso@42 17 {
pankso@12120 18 cp -a $stuff/icons/*.xpm $src/src/icons1
pankso@42 19 cd $src
pankso@4324 20 ./configure \
pankso@4324 21 --cpu=i486 \
pankso@4324 22 --prefix=/usr \
pankso@4324 23 intl nogif &&
pankso@42 24 make
pankso@42 25 }
pankso@42 26
pankso@42 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@42 28 genpkg_rules()
pankso@42 29 {
pankso@2296 30 mkdir -p $fs/usr/bin
pankso@42 31 cp -a $src/src/mtpaint $fs/usr/bin
pankso@2296 32 # Get locale from tazwok.conf
pankso@2296 33 for i in $LOCALE
pankso@2296 34 do
pankso@2296 35 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
pankso@2296 36 cp -a $src/po/$i.mo $fs/usr/share/locale/$i/LC_MESSAGES/mtpaint.mo
pankso@2296 37 done
pankso@42 38 }