wok diff libpng/receipt @ rev 16410
Up: ntfs-3g (2014.2.15)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Apr 17 11:09:07 2014 +0400 (2014-04-17) |
parents | 51a1ebbda768 |
children | 6e0538d3fa8b |
line diff
1.1 --- a/libpng/receipt Fri Oct 18 19:43:55 2013 +0000 1.2 +++ b/libpng/receipt Thu Apr 17 11:09:07 2014 +0400 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 {