wok-6.x view mtpaint/receipt @ rev 15384

Add licenses
author Dominique Corbex <domcox@slitaz.org>
date Mon Oct 21 23:10:53 2013 +0200 (2013-10-21)
parents 8437ad3ae814
children fd7c7b825eb9
line source
1 # SliTaz package receipt.
3 PACKAGE="mtpaint"
4 VERSION="3.40"
5 CATEGORY="graphics"
6 SHORT_DESC="Light paint programm and image manipulation."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://mtpaint.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ libpng lcms"
14 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cp -a $stuff/icons/*.xpm $src/src/icons1
20 cd $src
21 ./configure \
22 --cpu=$ARCH \
23 --prefix=/usr \
24 intl nogif &&
25 make
26 # install mo files to the right place
27 for i in $(find $src/po/*.mo); do
28 LNG=$(basename $i .mo)
29 LFOLDER=$install/usr/share/locale/$LNG/LC_MESSAGES
30 mkdir -p $LFOLDER
31 cp -a $src/po/$LNG.mo $LFOLDER/mtpaint.mo
32 done
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 cp -a $src/src/mtpaint $fs/usr/bin
40 }