wok view ntl/receipt @ rev 23884

ntl, sdcc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 15 11:18:08 2020 +0000 (2020-07-15)
parents 3fb4857df70a
children 86f5a6f059cb
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 ./configure \
23 CXX=g++-83 \
24 DEF_PREFIX=/usr \
25 NTL_STD_CXX11=on \
26 NTL_GMP_LIP=on \
27 NTL_GF2X_LIB=on &&
28 make &&
29 sed -i '/^DEF_PREFIX=\/usr$/d' makefile &&
30 make DEF_PREFIX=$install/usr install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }