wok view ntl/receipt @ rev 24170

updated otf-gfs
author Hans-G?nter Theisgen
date Wed Dec 29 07:55:54 2021 +0100 (2021-12-29)
parents 3d9966aceee9
children ad8b9ff412d2
line source
1 # SliTaz package receipt.
3 PACKAGE="ntl"
4 VERSION="11.4.3"
5 CATEGORY="utilities"
6 SHORT_DESC="A Library for doing Number Theory."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://shoup.net/ntl/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="gcc83 gcc83-lib-base gf2x-dev glibc-dev gmp-dev libtool perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
22 cd $src/src
23 ./configure \
24 CXX=g++-83 \
25 DEF_PREFIX=/usr \
26 NTL_STD_CXX11=on \
27 NTL_GMP_LIP=on \
28 NTL_GF2X_LIB=on &&
29 make &&
30 sed -i '/^DEF_PREFIX=\/usr$/d' makefile &&
31 make DEF_PREFIX=$install/usr install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }