wok-next annotate mtpaint/receipt @ rev 14879

Add: python-restkit (4.2.1)
author Claudinei Pereira <claudinei@slitaz.org>
date Tue Jul 23 19:33:23 2013 -0300 (2013-07-23)
parents 2fea9f650677
children 2b9f96603415
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 \
pascal@13878 21 --cpu=$ARCH \
pankso@4324 22 --prefix=/usr \
pankso@4324 23 intl nogif &&
pankso@42 24 make
al@13844 25 # install mo files to the right place
al@13844 26 for i in $(find $src/po/*.mo); do
al@13844 27 LNG=$(basename $i .mo)
al@13844 28 LFOLDER=$install/usr/share/locale/$LNG/LC_MESSAGES
al@13844 29 mkdir -p $LFOLDER
al@13846 30 cp -a $src/po/$LNG.mo $LFOLDER/mtpaint.mo
al@13844 31 done
pankso@42 32 }
pankso@42 33
pankso@42 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@42 35 genpkg_rules()
pankso@42 36 {
pankso@2296 37 mkdir -p $fs/usr/bin
pankso@42 38 cp -a $src/src/mtpaint $fs/usr/bin
pankso@42 39 }