wok diff nettle/receipt @ rev 18230

linld: add tobzimage (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 23 10:47:46 2015 +0200 (2015-07-23)
parents a1fff9cb2cd5
children f6439eea12df
line diff
     1.1 --- a/nettle/receipt	Fri Apr 04 07:39:36 2014 +0000
     1.2 +++ b/nettle/receipt	Thu Jul 23 10:47:46 2015 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nettle"
     1.7 -VERSION="2.5"
     1.8 +VERSION="2.7.1"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context."
    1.11  MAINTAINER="devl547@gmail.com"
    1.12 @@ -11,11 +11,13 @@
    1.13  WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL"
    1.14  HOST_ARCH="i486 arm"
    1.15  
    1.16 +DEPENDS="gmp"
    1.17 +BUILD_DEPENDS="gmp-dev"
    1.18 +		
    1.19  # Handle cross compilation.
    1.20  case "$ARCH" in
    1.21 -	i?86) 
    1.22 -		DEPENDS="gmp"
    1.23 -		BUILD_DEPENDS="gmp-dev" ;;
    1.24 +	arm) 
    1.25 +		ARCH_ARGS="--enable-arm-neon" ;;
    1.26  esac
    1.27  
    1.28  # Rules to configure and make the package.
    1.29 @@ -24,7 +26,7 @@
    1.30  	./configure \
    1.31  		--libdir=/usr/lib \
    1.32  		--enable-shared \
    1.33 -		$CONFIGURE_ARGS && 
    1.34 +		$CONFIGURE_ARGS ${ARCH_ARGS} && 
    1.35  	make && make install
    1.36  }
    1.37