wok view ntl/receipt @ rev 20772
updated cd-discid (1.1 -> 1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 13 16:59:39 2019 +0100 (2019-02-13) |
parents | 4e805e1b2e7b |
children | 3fb4857df70a |
line source
1 # SliTaz package receipt.
3 PACKAGE="ntl"
4 VERSION="5.5.2"
5 CATEGORY="utilities"
6 SHORT_DESC="A Library for doing Number Theory"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://shoup.net/ntl/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="gmp-dev gf2x-dev libtool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/src
20 ./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \
21 DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on &&
22 make &&
23 sed -i '/^DEF_PREFIX=\/usr$/d' makefile
24 make DEF_PREFIX=$install/usr install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 }