wok rev 16614

libgd: dowgrade to 2.0.35 (it was a bad idea and not the moment to update)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 08 19:40:39 2014 +0200 (2014-05-08)
parents 94d07ea6d8cb
children 74774ef92e6d
files libgd-dev/receipt libgd/receipt
line diff
     1.1 --- a/libgd-dev/receipt	Thu May 08 16:42:02 2014 +0000
     1.2 +++ b/libgd-dev/receipt	Thu May 08 19:40:39 2014 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libgd-dev"
     1.7 -VERSION="2.1.0"
     1.8 +VERSION="2.0.35"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Library for the dynamic creation of images development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
     2.1 --- a/libgd/receipt	Thu May 08 16:42:02 2014 +0000
     2.2 +++ b/libgd/receipt	Thu May 08 19:40:39 2014 +0200
     2.3 @@ -1,14 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libgd"
     2.7 -VERSION="2.1.0"
     2.8 +VERSION="2.0.35"
     2.9  CATEGORY="graphics"
    2.10  SHORT_DESC="Library for the dynamic creation of images."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="BSD"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15  WEB_SITE="http://www.libgd.org/"
    2.16 -WGET_URL="https://bitbucket.org/libgd/gd-libgd/downloads/$TARBALL"
    2.17 +WGET_URL="hg|https://bitbucket.org/pierrejoye/gd-libgd"
    2.18 +#WGET_URL="https://bitbucket.org/libgd/gd-libgd/downloads/$TARBALL"
    2.19  HOST_ARCH="i486 arm"
    2.20  
    2.21  DEPENDS="zlib libpng libjpeg freetype expat fontconfig xorg-libX11 \
    2.22 @@ -28,11 +29,14 @@
    2.23  	export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
    2.24  	cmake . && make && make DESTDIR=$DESTDIR install || return 1
    2.25  	
    2.26 +	cd src
    2.27 +    ln -sf ../config ../test .
    2.28 +    
    2.29  	./bootstrap.sh
    2.30  	./configure \
    2.31  		--prefix=/usr \
    2.32 -		$CONFIGURE_ARGS
    2.33 -	make -C config gdlib-config
    2.34 +		$CONFIGURE_ARGS &&
    2.35 +	make -C config gdlib-config &&
    2.36  	cp config/gdlib-config $DESTDIR/usr/local/bin
    2.37  	chmod +x $DESTDIR/usr/local/bin/gdlib-config
    2.38  	cd ..