wok-next diff tslib/receipt @ rev 17507
imlib2: fix "@my_libs@".
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 08 15:57:20 2015 +0200 (2015-01-08) |
parents | fd812ac90452 |
children | c5336999f370 |
line diff
1.1 --- a/tslib/receipt Mon Feb 24 23:42:48 2014 +0100 1.2 +++ b/tslib/receipt Thu Jan 08 15:57:20 2015 +0200 1.3 @@ -9,20 +9,23 @@ 1.4 WEB_SITE="http://tslib.berlios.de/" 1.5 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.6 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 BUILD_DEPENDS="libtool automake autoconf" 1.10 1.11 +# Handle cross compilation 1.12 +case "$ARCH" in 1.13 + arm*) export ac_cv_func_malloc_0_nonnull=yes ;; 1.14 +esac 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 -{ 1.19 +{ 1.20 ./autogen.sh 1.21 ./configure \ 1.22 - --prefix=/usr \ 1.23 - --infodir=/usr/share/info \ 1.24 --sysconfdir=/etc \ 1.25 $CONFIGURE_ARGS && 1.26 - make && 1.27 - make DESTDIR=$DESTDIR install 1.28 + make && make install 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg.