wok rev 23253

updated ntl (5.5.2 -> 11.4.3)
author Hans-G?nter Theisgen
date Wed Mar 25 15:08:12 2020 +0100 (9 days ago)
parents 1a68e1c58672
children e93d9fd2f16f
files ntl/receipt
line diff
     1.1 --- a/ntl/receipt	Wed Mar 25 14:43:12 2020 +0100
     1.2 +++ b/ntl/receipt	Wed Mar 25 15:08:12 2020 +0100
     1.3 @@ -1,31 +1,38 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ntl"
     1.7 -VERSION="5.5.2"
     1.8 +VERSION="11.4.3"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="A Library for doing Number Theory"
    1.11 +SHORT_DESC="A Library for doing Number Theory."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="http://shoup.net/ntl/"
    1.15 +WEB_SITE="https://shoup.net/ntl/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="$WEB_SITE/$TARBALL"
    1.19  
    1.20  DEPENDS=""
    1.21 -BUILD_DEPENDS="gmp-dev gf2x-dev libtool"
    1.22 +BUILD_DEPENDS="gcc83 gf2x-dev glibc-dev gmp-dev libtool perl"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src/src
    1.28 -	./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \
    1.29 -		DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on &&
    1.30 +	cd src
    1.31 +	export	CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
    1.32 +
    1.33 +	./configure			\
    1.34 +		CXX=g++-83		\
    1.35 +		DEF_PREFIX=/usr		\
    1.36 +		NTL_STD_CXX11=on	\
    1.37 +		NTL_GMP_LIP=on		\
    1.38 +		NTL_GF2X_LIB=on &&
    1.39  	make &&
    1.40 -	sed -i '/^DEF_PREFIX=\/usr$/d' makefile
    1.41 +	sed -i '/^DEF_PREFIX=\/usr$/d' makefile &&
    1.42  	make DEF_PREFIX=$install/usr install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48 -	cp -a $install/* $fs
    1.49 +	cp -a $install/*	$fs
    1.50  }