# HG changeset patch # User Christophe Lincoln # Date 1398216026 -7200 # Node ID f2cae20278f1ba13ca2b0c510531f81194048c0b # Parent 1170c748b1ab31790c86fbb3972fed10d5b84172 xpain: fix libtool diff -r 1170c748b1ab -r f2cae20278f1 xpaint/receipt --- a/xpaint/receipt Wed Apr 23 01:56:24 2014 +0200 +++ b/xpaint/receipt Wed Apr 23 03:20:26 2014 +0200 @@ -18,12 +18,15 @@ # Rules to configure and make the package. compile_rules() { - [ "$ARCH" == "i486" ] && LIBTOOL=libtool + case "$ARCH" in + i?86) LIBTOOL=libtool + arm) LIBTOOL=${HOST_SYSTEM}-libtool ;; + esac ./configure $CONFIGURE_ARGS && # Fix cross compilation sed -i s'/$(CC) substads.c/gcc substads.c/' Makefile && sed -i s'/$(CC) preproc.c/gcc preproc.c/' Makefile && - make -j 1 LIBTOOL=${HOST_SYSTEM}-libtool && make install + make -j 1 LIBTOOL=${LIBTOOL} && make install } # Rules to gen a SliTaz package suitable for Tazpkg.