# HG changeset patch # User Christophe Lincoln # Date 1393118634 -3600 # Node ID c2504719b20a48d1606016cc0d8092101429dfb9 # Parent f6332424127f4b88e396ed6b37b87465bfec40ee libpng: add to ARM port diff -r f6332424127f -r c2504719b20a libpng-dev/receipt --- a/libpng-dev/receipt Sun Feb 23 00:35:49 2014 +0100 +++ b/libpng-dev/receipt Sun Feb 23 02:23:54 2014 +0100 @@ -8,8 +8,9 @@ LICENSE="zlib/libpng" WANTED="libpng" WEB_SITE="http://libpng.org/pub/png/libpng.html" +HOST_ARCH="i486 arm" -DEPENDS="libpng pkg-config" +DEPENDS="libpng" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r f6332424127f -r c2504719b20a libpng/receipt --- a/libpng/receipt Sun Feb 23 00:35:49 2014 +0100 +++ b/libpng/receipt Sun Feb 23 02:23:54 2014 +0100 @@ -9,10 +9,16 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://libpng.org/pub/png/libpng.html" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="zlib" BUILD_DEPENDS="pkg-config gawk zlib-dev" +# Handle cross compilation. +case "$ARCH" in + arm) BUILD_DEPENDS="" ;; +esac + # Rules to configure and make the package. compile_rules() {