wok-current view mtpaint/receipt @ rev 16885
Strip deps: gettext -> gettext-base.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 13 23:12:56 2014 +0300 (2014-07-13) |
parents | 2b9f96603415 |
children | 46683195f95c |
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"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="gtk+ libpng lcms"
15 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cp -a $stuff/icons/*.xpm $src/src/icons1
21 case "$ARCH" in
22 i?86)
23 ./configure \
24 --cpu=$ARCH \
25 --prefix=/usr \
26 intl nogif ;;
27 arm*)
28 # we need: arm-slitaz-linux-gnueabi-pkg-config
29 ./configure \
30 --prefix=/usr \
31 --host=${HOST_SYSTEM} \
32 intl nogif
33 esac && make
34 # install mo files to the right place
35 for i in $(find $src/po/*.mo); do
36 LNG=$(basename $i .mo)
37 LFOLDER=$install/usr/share/locale/$LNG/LC_MESSAGES
38 mkdir -p $LFOLDER
39 cp -a $src/po/$LNG.mo $LFOLDER/mtpaint.mo
40 done
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/bin
47 cp -a $src/src/mtpaint $fs/usr/bin
48 }