wok diff libpng+apng/receipt @ rev 21399

mana, newsbeuter: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 19:45:31 2019 +0200 (2019-04-22)
parents 5e2c216c7408
children 4fea4d70e3c3
line diff
     1.1 --- a/libpng+apng/receipt	Sun Feb 19 09:20:46 2017 +0000
     1.2 +++ b/libpng+apng/receipt	Mon Apr 22 19:45:31 2019 +0200
     1.3 @@ -2,16 +2,16 @@
     1.4  
     1.5  PACKAGE="libpng+apng"
     1.6  SOURCE="libpng"
     1.7 -VERSION="1.6.28"
     1.8 +VERSION="1.6.36"
     1.9  SERIES="libpng16"
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Loads and saves PNG files (with APNG support)"
    1.12 +SHORT_DESC="Loads and saves PNG files (with APNG support)."
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="zlib/libpng"
    1.15  WEB_SITE="http://www.libpng.org/pub/png/libpng.html"
    1.16 +
    1.17  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.18  WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.19 -HOST_ARCH="i486 arm"
    1.20  
    1.21  PATCH="$SOURCE-$VERSION-apng.patch.gz"
    1.22  PATCH_URL="$SF_MIRROR/apng/$SOURCE/$SERIES/$PATCH"
    1.23 @@ -19,16 +19,20 @@
    1.24  DEPENDS="zlib"
    1.25  BUILD_DEPENDS="gawk zlib-dev"
    1.26  
    1.27 +HOST_ARCH="i486 arm"
    1.28 +
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	[ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL
    1.33  	gzip -cd $SRC/$PATCH | patch -p0
    1.34 -	./configure \
    1.35 -		--prefix=/usr \
    1.36 -		--disable-static \
    1.37 +
    1.38 +	./configure			\
    1.39 +		--prefix=/usr		\
    1.40 +		--disable-static	\
    1.41  		$CONFIGURE_ARGS &&
    1.42 -	make &&
    1.43 +	make -j 1 &&
    1.44 +
    1.45  	case "$ARCH" in
    1.46  	arm*)
    1.47  		make DESTDIR=$DESTDIR install ;;