wok diff libpng+apng/receipt @ rev 19577

unetbootin: slitaz support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 24 11:44:11 2016 +0100 (2016-12-24)
parents 16dd2a014428
children d1ab69441168
line diff
     1.1 --- a/libpng+apng/receipt	Fri Jun 14 07:23:16 2013 +0200
     1.2 +++ b/libpng+apng/receipt	Sat Dec 24 11:44:11 2016 +0100
     1.3 @@ -12,6 +12,7 @@
     1.4  WEB_SITE="http://www.libpng.org/pub/png/libpng.html"
     1.5  TARBALL="$SOURCE-$VERSION.tar.xz"
     1.6  WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  PATCH="$SOURCE-$VERSION-apng.patch.gz"
    1.10  PATCH_URL="$SF_MIRROR/apng/$SOURCE/$SERIES/$PATCH"
    1.11 @@ -29,8 +30,13 @@
    1.12  		--disable-static \
    1.13  		$CONFIGURE_ARGS &&
    1.14  	make &&
    1.15 -	make check | tr [A-Z] [a-z] &&
    1.16 -	make DESTDIR=$DESTDIR install
    1.17 +	case "$ARCH" in
    1.18 +	arm*)
    1.19 +		make DESTDIR=$DESTDIR install ;;
    1.20 +	*)
    1.21 +		make check | tr [A-Z] [a-z] &&
    1.22 +		make DESTDIR=$DESTDIR install ;;
    1.23 +	esac
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.