wok-6.x diff nettle/receipt @ rev 22506

updated asterisk-sound-fr (1.4.16 -> 1.6.1)
author Hans-G?nter Theisgen
date Wed Jan 01 13:38:34 2020 +0100 (2020-01-01)
parents f6439eea12df
children eeb3f2dda9df
line diff
     1.1 --- a/nettle/receipt	Fri Sep 11 18:59:23 2015 +0000
     1.2 +++ b/nettle/receipt	Wed Jan 01 13:38:34 2020 +0100
     1.3 @@ -1,18 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nettle"
     1.7 -VERSION="3.1.1"
     1.8 +VERSION="3.4.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 +SHORT_DESC="A cryptographic library that is designed to fit easily in more or less any context."
    1.12  MAINTAINER="devl547@gmail.com"
    1.13  LICENSE="LGPL2.1"
    1.14 +WEB_SITE="https://www.lysator.liu.se/~nisse/nettle/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
    1.18 -WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL"
    1.19 -HOST_ARCH="i486 arm"
    1.20 +WGET_URL="https://www.lysator.liu.se/~nisse/archive/$TARBALL"
    1.21  
    1.22  DEPENDS="gmp"
    1.23 -BUILD_DEPENDS="gmp-dev"
    1.24 +BUILD_DEPENDS="gcc83 gmp-dev"
    1.25 +
    1.26 +HOST_ARCH="i486 arm"
    1.27  		
    1.28  # Handle cross compilation.
    1.29  case "$ARCH" in
    1.30 @@ -23,17 +25,22 @@
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34 -	./configure \
    1.35 -		--libdir=/usr/lib \
    1.36 -		--enable-shared \
    1.37 +	export	CC=gcc-83
    1.38 +	export	CXX=g++-83
    1.39 +
    1.40 +	./configure			\
    1.41 +		--libdir=/usr/lib	\
    1.42 +		--enable-shared		\
    1.43  		$CONFIGURE_ARGS ${ARCH_ARGS} && 
    1.44 -	make && make install
    1.45 +	make &&
    1.46 +	make install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52  	mkdir -p $fs/usr/lib
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.55 +
    1.56 +	cp -a $install/usr/bin		$fs/usr
    1.57 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.58  }