wok rev 16257
ARM: add gmp and up nettle
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 03:24:21 2014 +0200 (2014-04-05) |
parents | e1200b521d82 |
children | e62fe73c97ae |
files | gmp-dev/receipt gmp/receipt nettle-dev/receipt nettle/receipt |
line diff
1.1 --- a/gmp-dev/receipt Fri Apr 04 19:12:27 2014 +0200 1.2 +++ b/gmp-dev/receipt Sat Apr 05 03:24:21 2014 +0200 1.3 @@ -1,13 +1,14 @@ 1.4 # SliTaz package receipt 1.5 1.6 PACKAGE="gmp-dev" 1.7 -VERSION="5.0.4" 1.8 +VERSION="6.0.0a" 1.9 CATEGORY="development" 1.10 SHORT_DESC="GNU Multiple Precision Arithmetic devel files." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL3" 1.13 WANTED="gmp" 1.14 WEB_SITE="http://gmplib.org/" 1.15 +HOST_ARCH="i486 arm" 1.16 1.17 # Rules to gen a SliTaz package suitable for Tazpkg. 1.18 genpkg_rules()
2.1 --- a/gmp/receipt Fri Apr 04 19:12:27 2014 +0200 2.2 +++ b/gmp/receipt Sat Apr 05 03:24:21 2014 +0200 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt 2.5 2.6 PACKAGE="gmp" 2.7 -VERSION="5.0.4" 2.8 +VERSION="6.0.0a" 2.9 CATEGORY="development" 2.10 SHORT_DESC="GNU Multiple Precision Arithmetic Library." 2.11 MAINTAINER="pankso@slitaz.org" 2.12 @@ -9,20 +9,16 @@ 2.13 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 WEB_SITE="http://gmplib.org/" 2.15 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 2.16 -#HOST_ARCH="i486 arm" 2.17 +HOST_ARCH="i486 arm" 2.18 2.19 BUILD_DEPENDS="binutils m4" 2.20 2.21 # Rules to configure and make the package. 2.22 compile_rules() 2.23 -{ 2.24 - case "$ARCH" in 2.25 - i?86) 2.26 - export ABI=32 2.27 - ARCH_ARGS="--enable-cxx" ;; 2.28 - esac 2.29 +{ 2.30 ./configure \ 2.31 - $CONFIGURE_ARGS $ARCH_ARGS && 2.32 + --enable-cxx \ 2.33 + $CONFIGURE_ARGS && 2.34 # -j > 1 make install fails. 2.35 make && make -j 1 install 2.36 }
3.1 --- a/nettle-dev/receipt Fri Apr 04 19:12:27 2014 +0200 3.2 +++ b/nettle-dev/receipt Sat Apr 05 03:24:21 2014 +0200 3.3 @@ -1,7 +1,7 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="nettle-dev" 3.7 -VERSION="2.5" 3.8 +VERSION="2.7.1" 3.9 CATEGORY="development" 3.10 SHORT_DESC="devel files for nettle" 3.11 MAINTAINER="devl547@gmail.com"
4.1 --- a/nettle/receipt Fri Apr 04 19:12:27 2014 +0200 4.2 +++ b/nettle/receipt Sat Apr 05 03:24:21 2014 +0200 4.3 @@ -1,7 +1,7 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="nettle" 4.7 -VERSION="2.5" 4.8 +VERSION="2.7.1" 4.9 CATEGORY="security" 4.10 SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context." 4.11 MAINTAINER="devl547@gmail.com" 4.12 @@ -11,11 +11,13 @@ 4.13 WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL" 4.14 HOST_ARCH="i486 arm" 4.15 4.16 +DEPENDS="gmp" 4.17 +BUILD_DEPENDS="gmp-dev" 4.18 + 4.19 # Handle cross compilation. 4.20 case "$ARCH" in 4.21 - i?86) 4.22 - DEPENDS="gmp" 4.23 - BUILD_DEPENDS="gmp-dev" ;; 4.24 + arm) 4.25 + ARCH_ARGS="--enable-arm-neon" ;; 4.26 esac 4.27 4.28 # Rules to configure and make the package. 4.29 @@ -24,7 +26,7 @@ 4.30 ./configure \ 4.31 --libdir=/usr/lib \ 4.32 --enable-shared \ 4.33 - $CONFIGURE_ARGS && 4.34 + $CONFIGURE_ARGS ${ARCH_ARGS} && 4.35 make && make install 4.36 } 4.37