wok-6.x diff tslib/receipt @ rev 20352
pinentry: try with newer gcc and specify build
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 13:10:46 2018 +0000 (2018-06-09) |
parents | fd812ac90452 |
children | 8dd8bab3f0ca |
line diff
1.1 --- a/tslib/receipt Mon Feb 24 23:42:48 2014 +0100 1.2 +++ b/tslib/receipt Sat Jun 09 13:10:46 2018 +0000 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.