wok-next view mtpaint/receipt @ rev 20949
Fix homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 01 16:21:51 2018 +0300 (2018-09-01) |
parents | d6378d455338 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mtpaint"
4 VERSION="3.49.13"
5 COMMIT="3884b6d"
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 WEB_SITE="http://mtpaint.sourceforge.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/wjaguar/mtPaint/archive/$COMMIT.tar.gz"
15 BUILD_DEPENDS="gtk+-dev libpng16-dev lcms-dev zlib-dev gettext \
16 libjpeg-turbo-dev tiff-dev"
18 compile_rules() {
19 sed 's/mem_undo_limit,\t32/mem_undo_limit,\t64/' -i $src/src/mainwindow.c
21 case "$ARCH" in
22 i?86) ARCH_ARGS="--cpu=$ARCH intl nogif nojp2";;
23 arm*) ARCH_ARGS="--host=$HOST_SYSTEM intl nogif";;
24 x86_64) ARCH_ARGS="intl nogif nojp2";;
25 esac
27 ./configure \
28 --prefix=/usr \
29 $ARCH_ARGS &&
30 make &&
31 make DESTDIR=$install install || return 1
33 mkdir -p $install/usr/share/applications/
34 install -Dm644 $stuff/*.desktop $install/usr/share/applications/
35 install -Dm755 $stuff/mtpaint-doc $install/usr/bin/mtpaint-doc
36 install -Dm644 $src/doc/mtpaint.png $install/usr/share/pixmaps/mtpaint.png
37 install -Dm644 $stuff/mtpaintrc $install/etc/mtpaint/mtpaintrc
38 }
40 genpkg_rules() {
41 copy @std
42 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ lcms \
43 libjpeg-turbo libpng16 pango tiff xorg-libX11 zlib"
44 }