wok diff giflib/receipt @ rev 16493

ARM: add tk (so we may have Python IDLE)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 23 15:29:12 2014 +0200 (2014-04-23)
parents de49f29b101e
children 40f9f468d1fd
line diff
     1.1 --- a/giflib/receipt	Thu Dec 05 15:25:09 2013 +0000
     1.2 +++ b/giflib/receipt	Wed Apr 23 15:29:12 2014 +0200
     1.3 @@ -9,6 +9,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://sourceforge.net/projects/giflib/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="glibc-base xorg-libSM xorg-libICE xorg-libX11 xorg-libXau \
    1.10  xorg-libXdmcp"
    1.11 @@ -17,19 +18,22 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	cd $src
    1.16  	sed -i '/AC_PATH_XTRA/d' configure.ac
    1.17  	libtoolize -f
    1.18  	autoreconf
    1.19  	./configure \
    1.20  		$CONFIGURE_ARGS &&
    1.21  	make && make DESTDIR=$DESTDIR install
    1.22 -	# libungif compatibility - instructions taken from Redhat specfile
    1.23 -	MAJOR=`echo $VERSION | sed 's/\([0-9]\+\)\..*/\1/'`
    1.24 -	gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.$VERSION
    1.25 -	install -m755 libungif.so.${VERSION} "$DESTDIR/usr/lib/"
    1.26 -	ln -sf libungif.so.$VERSIN "$DESTDIR/usr/lib/libungif.so.4"
    1.27 -	ln -sf libungif.so.4 "$DESTDIR/usr/lib/libungif.so"
    1.28 +	case "$ARCH" in
    1.29 +		i?86)
    1.30 +			# libungif compatibility - instructions taken from Redhat specfile
    1.31 +			MAJOR=`echo $VERSION | sed 's/\([0-9]\+\)\..*/\1/'`
    1.32 +			gcc -shared -Wl,-soname,libungif.so.${MAJOR} \
    1.33 +				-Llib/.libs -lgif -o libungif.so.$VERSION
    1.34 +			install -m755 libungif.so.${VERSION} "$DESTDIR/usr/lib/"
    1.35 +			ln -sf libungif.so.$VERSIN "$DESTDIR/usr/lib/libungif.so.4"
    1.36 +			ln -sf libungif.so.4 "$DESTDIR/usr/lib/libungif.so" ;;
    1.37 +	esac
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.