wok-next view mtpaint/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 82b613cfd1e0 |
children |
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="devel@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="gtk2-dev libpng-dev lcms-dev zlib-dev gettext-dev \
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 x86_64) ARCH_ARGS="intl nogif nojp2";;
24 esac
26 ./configure \
27 --prefix=/usr \
28 $ARCH_ARGS &&
29 make &&
30 make DESTDIR=$install install || return 1
32 mkdir -p $install/usr/share/applications/
33 install -Dm644 $stuff/*.desktop $install/usr/share/applications/
34 install -Dm755 $stuff/mtpaint-doc $install/usr/bin/mtpaint-doc
35 install -Dm644 $src/doc/mtpaint.png $install/usr/share/pixmaps/mtpaint.png
36 install -Dm644 $stuff/mtpaintrc $install/etc/mtpaint/mtpaintrc
37 }
39 genpkg_rules() {
40 copy @std
41 DEPENDS="atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 liblcms \
42 libjpeg-turbo libpng pango libtiff libx11 zlib"
43 }