wok-next view mtpaint/receipt @ rev 20849
syslinux: prevent shell expansion, specify CONFIG_FILES
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 23 17:39:19 2018 +0300 (2018-06-23) |
parents | f879ce3f57b0 |
children | 91196fd023de |
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"
17 compile_rules() {
18 sed 's/mem_undo_limit,\t32/mem_undo_limit,\t64/' -i $src/src/mainwindow.c
20 case "$ARCH" in
21 i?86) ARCH_ARGS="--cpu=$ARCH intl nogif nojp2";;
22 arm*) ARCH_ARGS="--host=$HOST_SYSTEM intl nogif";;
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 cairo fontconfig freetype gdk-pixbuf glib gtk+ lcms \
42 libjpeg-turbo libpng16 pango tiff xorg-libX11 zlib"
43 }