wok-next diff libpng/receipt @ rev 16267
tazweb fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 19:43:34 2014 +0200 (2014-04-05) |
parents | 51a1ebbda768 |
children | 6e0538d3fa8b |
line diff
1.1 --- a/libpng/receipt Fri Oct 18 19:43:55 2013 +0000 1.2 +++ b/libpng/receipt Sat Apr 05 19:43:34 2014 +0200 1.3 @@ -9,10 +9,16 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WEB_SITE="http://libpng.org/pub/png/libpng.html" 1.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="zlib" 1.10 BUILD_DEPENDS="pkg-config gawk zlib-dev" 1.11 1.12 +# Handle cross compilation. 1.13 +case "$ARCH" in 1.14 + arm) BUILD_DEPENDS="" ;; 1.15 +esac 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 {