wok annotate mtpaint/receipt @ rev 16165

links-dfb: typo in dip.c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 29 08:53:12 2014 +0000 (2014-03-29)
parents 8437ad3ae814
children fd7c7b825eb9
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"
pascal@14999 8 LICENSE="GPL3"
pankso@42 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@42 10 WEB_SITE="http://mtpaint.sourceforge.net/"
pankso@42 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@42 12
pankso@12120 13 DEPENDS="gtk+ libpng lcms"
pankso@12120 14 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev"
pankso@12120 15
pankso@42 16 # Rules to configure and make the package.
pankso@42 17 compile_rules()
pankso@42 18 {
pankso@12120 19 cp -a $stuff/icons/*.xpm $src/src/icons1
pankso@42 20 cd $src
pankso@4324 21 ./configure \
pascal@13878 22 --cpu=$ARCH \
pankso@4324 23 --prefix=/usr \
pankso@4324 24 intl nogif &&
pankso@42 25 make
al@13844 26 # install mo files to the right place
al@13844 27 for i in $(find $src/po/*.mo); do
al@13844 28 LNG=$(basename $i .mo)
al@13844 29 LFOLDER=$install/usr/share/locale/$LNG/LC_MESSAGES
al@13844 30 mkdir -p $LFOLDER
al@13846 31 cp -a $src/po/$LNG.mo $LFOLDER/mtpaint.mo
al@13844 32 done
pankso@42 33 }
pankso@42 34
pankso@42 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@42 36 genpkg_rules()
pankso@42 37 {
pankso@2296 38 mkdir -p $fs/usr/bin
pankso@42 39 cp -a $src/src/mtpaint $fs/usr/bin
pankso@42 40 }