wok-current rev 16521

libgd: try an other fix!
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 00:27:15 2014 +0200 (2014-04-26)
parents 970798b93831
children f9b13fb97dda
files libgd-dev/receipt libgd/receipt
line diff
     1.1 --- a/libgd-dev/receipt	Fri Apr 25 23:51:15 2014 +0200
     1.2 +++ b/libgd-dev/receipt	Sat Apr 26 00:27:15 2014 +0200
     1.3 @@ -10,6 +10,8 @@
     1.4  WEB_SITE="http://www.libgd.org/"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +DEPENDS="libpng-dev libjpeg jpeg-dev"
     1.8 +
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
    1.11  {
     2.1 --- a/libgd/receipt	Fri Apr 25 23:51:15 2014 +0200
     2.2 +++ b/libgd/receipt	Sat Apr 26 00:27:15 2014 +0200
     2.3 @@ -13,16 +13,13 @@
     2.4  
     2.5  DEPENDS="zlib libpng libjpeg freetype expat fontconfig xorg-libX11 \
     2.6  xorg-libXau xorg-libXdmcp xorg-libXpm"
     2.7 -BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev  \
     2.8 +BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev \
     2.9  xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev automake libtool"
    2.10  
    2.11  # Cross compilation use some build host tools
    2.12  case "$ARCH" in
    2.13 -	i?86) 
    2.14 -		BUILD_DEPENDS="$BUILD_DEPENDS cmake wget" 
    2.15 -		jpeg="/usr/lib" ;;
    2.16 -	arm) 
    2.17 -		jpeg="/cross/$ARCH/sysroot/usr/lib" ;;
    2.18 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake wget" ;;
    2.19 +	arm) ARCH_ARGS="--with-jpeg=/cross/$ARCH/sysroot/usr/lib" ;;
    2.20  esac
    2.21  
    2.22  # Rules to configure and make the package.
    2.23 @@ -34,7 +31,6 @@
    2.24  	./bootstrap.sh
    2.25  	./configure \
    2.26  		--prefix=/usr \
    2.27 -		--with-jpeg=${jpeg} \
    2.28  		$CONFIGURE_ARGS
    2.29  	make -C config gdlib-config
    2.30  	cp config/gdlib-config $DESTDIR/usr/local/bin