wok diff openjpeg/receipt @ rev 16218

ARM: add some libs for mupdf
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 31 22:14:07 2014 +0200 (2014-03-31)
parents ad59999b3fce
children dad87079f1a0
line diff
     1.1 --- a/openjpeg/receipt	Wed Jun 05 16:21:04 2013 +0200
     1.2 +++ b/openjpeg/receipt	Mon Mar 31 22:14:07 2014 +0200
     1.3 @@ -9,14 +9,19 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.openjpeg.org/"
     1.6  WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="glibc-base"
    1.10 -BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory"
    1.11 +BUILD_DEPENDS="zlib-dev tiff-dev"
    1.12 +
    1.13 +# Handle cross compilation.
    1.14 +case "$ARCH" in
    1.15 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS coreutils-directory" ;;
    1.16 +esac
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -	cd $src
    1.22  	# make sure we use system libs
    1.23  	[ -d thirtparty ] && rm -rf thirtparty
    1.24  	./configure --enable-lcms2=no \