wok-current rev 16479

xpain: fix libtool
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 23 03:20:26 2014 +0200 (2014-04-23)
parents 1170c748b1ab
children fb6d54ed7503
files xpaint/receipt
line diff
     1.1 --- a/xpaint/receipt	Wed Apr 23 01:56:24 2014 +0200
     1.2 +++ b/xpaint/receipt	Wed Apr 23 03:20:26 2014 +0200
     1.3 @@ -18,12 +18,15 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	[ "$ARCH" == "i486" ] && LIBTOOL=libtool
     1.8 +	case "$ARCH" in
     1.9 +		i?86) LIBTOOL=libtool 
    1.10 +		arm) LIBTOOL=${HOST_SYSTEM}-libtool ;;
    1.11 +	esac
    1.12  	./configure $CONFIGURE_ARGS &&
    1.13  	# Fix cross compilation
    1.14  	sed -i s'/$(CC) substads.c/gcc substads.c/' Makefile &&
    1.15  	sed -i s'/$(CC) preproc.c/gcc preproc.c/' Makefile &&
    1.16 -	make -j 1 LIBTOOL=${HOST_SYSTEM}-libtool && make install
    1.17 +	make -j 1 LIBTOOL=${LIBTOOL} && make install
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.