# HG changeset patch # User Hans-G?nter Theisgen # Date 1585145292 -3600 # Node ID 3fb4857df70aff025d603009901a23e4f7ebba61 # Parent 1a68e1c586725770881419b3ed6583d08db4e95e updated ntl (5.5.2 -> 11.4.3) diff -r 1a68e1c58672 -r 3fb4857df70a ntl/receipt --- a/ntl/receipt Wed Mar 25 14:43:12 2020 +0100 +++ b/ntl/receipt Wed Mar 25 15:08:12 2020 +0100 @@ -1,31 +1,38 @@ # SliTaz package receipt. PACKAGE="ntl" -VERSION="5.5.2" +VERSION="11.4.3" CATEGORY="utilities" -SHORT_DESC="A Library for doing Number Theory" +SHORT_DESC="A Library for doing Number Theory." MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL" -WEB_SITE="http://shoup.net/ntl/" +WEB_SITE="https://shoup.net/ntl/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/$TARBALL" DEPENDS="" -BUILD_DEPENDS="gmp-dev gf2x-dev libtool" +BUILD_DEPENDS="gcc83 gf2x-dev glibc-dev gmp-dev libtool perl" # Rules to configure and make the package. compile_rules() { - cd $src/src - ./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \ - DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on && + cd src + export CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" + + ./configure \ + CXX=g++-83 \ + DEF_PREFIX=/usr \ + NTL_STD_CXX11=on \ + NTL_GMP_LIP=on \ + NTL_GF2X_LIB=on && make && - sed -i '/^DEF_PREFIX=\/usr$/d' makefile + sed -i '/^DEF_PREFIX=\/usr$/d' makefile && make DEF_PREFIX=$install/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs + cp -a $install/* $fs }