wok-next diff libpng+apng/receipt @ rev 19345
Up slitaz-base-files (309)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 22 09:40:10 2016 +0300 (2016-07-22) |
parents | 16dd2a014428 |
children | 35a20e111081 |
line diff
1.1 --- a/libpng+apng/receipt Fri Jun 14 07:23:16 2013 +0200 1.2 +++ b/libpng+apng/receipt Fri Jul 22 09:40:10 2016 +0300 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.