wok-current view ntl/receipt @ rev 23715
updated unbound and unbound-dev (1.9.4 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 29 07:26:08 2020 +0100 (2020-04-29) |
parents | 3765f181a6d5 |
children | 3d9966aceee9 |
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 gf2x-dev glibc-dev gmp-dev libtool perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd src
21 export CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
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 }