wok-current view mtpaint/receipt @ rev 18412

linux64-open-vm-tools-kernel: uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 19 18:50:17 2015 +0200 (2015-09-19)
parents f6642d800b04
children 9db5705d64a7
line source
1 # SliTaz package receipt.
3 PACKAGE="mtpaint"
4 VERSION="3.44.91"
5 COMMIT="15ec7b65d09bff5372253f9568d06ea97487f9dc"
6 CATEGORY="graphics"
7 SHORT_DESC="Painting program to create pixel art and manipulate digital photos"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://mtpaint.sourceforge.net/"
12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 WGET_URL="https://github.com/wjaguar/mtPaint/archive/$COMMIT.tar.gz"
14 #HOST_ARCH="i486 arm"
16 DEPENDS="gtk+ libpng lcms"
17 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 patch -p0 < $stuff/mtpaint.patch
23 case "$ARCH" in
24 i?86)
25 ./configure \
26 --cpu=$ARCH \
27 --prefix=/usr \
28 intl nogif nojp2 ;;
29 arm*)
30 # we need: arm-slitaz-linux-gnueabi-pkg-config
31 ./configure \
32 --prefix=/usr \
33 --host=${HOST_SYSTEM} \
34 intl nogif
35 esac && make &&
36 make DESTDIR=$install install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps $fs/etc/mtpaint
43 cp -a $install/usr/bin $fs/usr
44 install -m755 -oroot -groot $stuff/mtpaint-doc $fs/usr/bin
45 cp $stuff/*.desktop $fs/usr/share/applications
46 cp $src/doc/mtpaint.png $fs/usr/share/pixmaps
47 cp $stuff/mtpaintrc $fs/etc/mtpaint
48 }