wok diff ntl/receipt @ rev 25074
Add python-ipaddress
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 13 19:39:39 2022 +0000 (23 months ago) |
parents | ad8b9ff412d2 |
children | 7364ffdaaa60 |
line diff
1.1 --- a/ntl/receipt Sat Feb 12 18:42:31 2022 +0000 1.2 +++ b/ntl/receipt Mon Jun 13 19:39:39 2022 +0000 1.3 @@ -1,18 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ntl" 1.7 -VERSION="11.4.3" 1.8 +VERSION="11.5.1" 1.9 CATEGORY="utilities" 1.10 SHORT_DESC="A Library for doing Number Theory." 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 -LICENSE="GPL" 1.13 -WEB_SITE="https://shoup.net/ntl/" 1.14 +LICENSE="LGPLv2.1+" 1.15 +WEB_SITE="https://libntl.org/" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 WGET_URL="$WEB_SITE/$TARBALL" 1.19 +WGET_URL="https://github.com/libntl/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz" 1.20 1.21 DEPENDS="" 1.22 -BUILD_DEPENDS="gcc83 gcc83-lib-base gf2x-dev glibc-dev gmp-dev libtool perl" 1.23 +BUILD_DEPENDS="gcc83 gf2x-dev glibc-dev gmp-dev libtool perl" 1.24 1.25 # What is the latest version available today? 1.26 current_version() 1.27 @@ -26,7 +27,7 @@ 1.28 { 1.29 export CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" 1.30 1.31 - cd $src/src 1.32 + cd src 1.33 ./configure \ 1.34 CXX=g++-83 \ 1.35 DEF_PREFIX=/usr \ 1.36 @@ -34,8 +35,8 @@ 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 - make DEF_PREFIX=$install/usr install 1.42 + sed -i '/^DEF_PREFIX=\/usr$/d' makefile 1.43 + make install DEF_PREFIX=$install/usr 1.44 } 1.45 1.46 # Rules to gen a SliTaz package suitable for Tazpkg.