wok diff mtpaint/receipt @ rev 21415

updated make (4.1 -> 4.2.1)
author Hans-G?nter Theisgen
date Tue Apr 23 17:28:22 2019 +0100 (2019-04-23)
parents 3c0ca53f8f39
children 01e7a064c392
line diff
     1.1 --- a/mtpaint/receipt	Sat Oct 07 18:33:42 2017 +0200
     1.2 +++ b/mtpaint/receipt	Tue Apr 23 17:28:22 2019 +0100
     1.3 @@ -4,23 +4,25 @@
     1.4  VERSION="3.44.91"
     1.5  COMMIT="15ec7b65d09bff5372253f9568d06ea97487f9dc"
     1.6  CATEGORY="graphics"
     1.7 -SHORT_DESC="Painting program to create pixel art and manipulate digital photos"
     1.8 +SHORT_DESC="Painting program to create pixel art and manipulate digital photos."
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  LICENSE="GPL3"
    1.11 +WEB_SITE="http://mtpaint.sourceforge.net/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://mtpaint.sourceforge.net/"
    1.15  #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16  WGET_URL="https://github.com/wjaguar/mtPaint/archive/$COMMIT.tar.gz"
    1.17 -#HOST_ARCH="i486 arm"
    1.18  
    1.19  DEPENDS="gtk+ libpng lcms2"
    1.20  BUILD_DEPENDS="gtk+-dev libpng-dev lcms2-dev zlib-dev cairo-dev"
    1.21 +#HOST_ARCH="i486 arm"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26  	patch -p0 < $stuff/mtpaint.patch
    1.27  	sed 's/mem_undo_limit,\t32/mem_undo_limit,\t256/' -i $src/src/mainwindow.c
    1.28 +
    1.29  	case "$ARCH" in
    1.30  		i?86)
    1.31  			export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpng12"
    1.32 @@ -34,18 +36,24 @@
    1.33  				--prefix=/usr \
    1.34  				--host=${HOST_SYSTEM} \
    1.35  				intl nogif
    1.36 -	esac && make &&
    1.37 +	esac &&
    1.38 +	make -j 1 &&
    1.39  	make DESTDIR=$install install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps $fs/etc/mtpaint $fs/usr/share/thumbnailers
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 -	install -m755 -oroot -groot $stuff/mtpaint-doc $fs/usr/bin
    1.48 -	cp $stuff/*.desktop $fs/usr/share/applications
    1.49 -	cp $src/doc/mtpaint.png $fs/usr/share/pixmaps
    1.50 -	cp $stuff/mtpaintrc $fs/etc/mtpaint
    1.51 -	cp $stuff/mtpaint.thumbnailer $fs/usr/share/thumbnailers
    1.52 +	mkdir -p				\
    1.53 +		$fs/usr/share/applications	\
    1.54 +		$fs/usr/share/pixmaps		\
    1.55 +		$fs/etc/mtpaint			\
    1.56 +		$fs/usr/share/thumbnailers
    1.57 +
    1.58 +	cp -a $install/usr/bin				$fs/usr
    1.59 +	install -m755 -oroot -groot $stuff/mtpaint-doc	$fs/usr/bin
    1.60 +	cp $stuff/*.desktop				$fs/usr/share/applications
    1.61 +	cp $src/doc/mtpaint.png				$fs/usr/share/pixmaps
    1.62 +	cp $stuff/mtpaintrc				$fs/etc/mtpaint
    1.63 +	cp $stuff/mtpaint.thumbnailer			$fs/usr/share/thumbnailers
    1.64  }