wok-current rev 21539

updated nettle and nettle-dev (3.1.1 -> 3.4.1)
author Hans-G?nter Theisgen
date Sun May 05 16:40:54 2019 +0100 (2019-05-05)
parents b8d097791146
children 5ec950823322
files nettle-dev/receipt nettle/receipt
line diff
     1.1 --- a/nettle-dev/receipt	Sun May 05 14:38:56 2019 +0100
     1.2 +++ b/nettle-dev/receipt	Sun May 05 16:40:54 2019 +0100
     1.3 @@ -1,22 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nettle-dev"
     1.7 -VERSION="3.1.1"
     1.8 +VERSION="3.4.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="devel files for nettle"
    1.11 +SHORT_DESC="Development files for nettle."
    1.12  MAINTAINER="devl547@gmail.com"
    1.13  LICENSE="LGPL2.1"
    1.14 -WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
    1.15 -HOST_ARCH="i486 arm"
    1.16 +WEB_SITE="https://www.lysator.liu.se/~nisse/nettle/"
    1.17  
    1.18  WANTED="nettle"
    1.19  DEPENDS="nettle pkg-config"
    1.20  
    1.21 +HOST_ARCH="i486 arm"
    1.22 +
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26  	mkdir -p $fs/usr/lib
    1.27 -	cp -a $install/usr/include $fs/usr
    1.28 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.29 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.30 +
    1.31 +	cp -a $install/usr/include		$fs/usr
    1.32 +	cp -a $install/usr/lib/*a		$fs/usr/lib
    1.33 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.34  }
     2.1 --- a/nettle/receipt	Sun May 05 14:38:56 2019 +0100
     2.2 +++ b/nettle/receipt	Sun May 05 16:40:54 2019 +0100
     2.3 @@ -1,18 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="nettle"
     2.7 -VERSION="3.1.1"
     2.8 +VERSION="3.4.1"
     2.9  CATEGORY="security"
    2.10 -SHORT_DESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context."
    2.11 +SHORT_DESC="A cryptographic library that is designed to fit easily in more or less any context."
    2.12  MAINTAINER="devl547@gmail.com"
    2.13  LICENSE="LGPL2.1"
    2.14 +WEB_SITE="https://www.lysator.liu.se/~nisse/nettle/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="http://www.lysator.liu.se/~nisse/nettle/"
    2.18 -WGET_URL="http://www.lysator.liu.se/~nisse/archive/$TARBALL"
    2.19 -HOST_ARCH="i486 arm"
    2.20 +WGET_URL="https://www.lysator.liu.se/~nisse/archive/$TARBALL"
    2.21  
    2.22  DEPENDS="gmp"
    2.23 -BUILD_DEPENDS="gmp-dev"
    2.24 +BUILD_DEPENDS="gcc83 gmp-dev"
    2.25 +
    2.26 +HOST_ARCH="i486 arm"
    2.27  		
    2.28  # Handle cross compilation.
    2.29  case "$ARCH" in
    2.30 @@ -23,17 +25,22 @@
    2.31  # Rules to configure and make the package.
    2.32  compile_rules()
    2.33  {
    2.34 -	./configure \
    2.35 -		--libdir=/usr/lib \
    2.36 -		--enable-shared \
    2.37 +	export	CC=gcc-83
    2.38 +	export	CXX=g++-83
    2.39 +
    2.40 +	./configure			\
    2.41 +		--libdir=/usr/lib	\
    2.42 +		--enable-shared		\
    2.43  		$CONFIGURE_ARGS ${ARCH_ARGS} && 
    2.44 -	make && make install
    2.45 +	make &&
    2.46 +	make install
    2.47  }
    2.48  
    2.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.50  genpkg_rules()
    2.51  {
    2.52  	mkdir -p $fs/usr/lib
    2.53 -	cp -a $install/usr/bin $fs/usr
    2.54 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.55 +
    2.56 +	cp -a $install/usr/bin		$fs/usr
    2.57 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.58  }