wok-next view ntl/receipt @ rev 17441

Up bind (9.9.6-P1) CVE-2014-8500
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 09 18:22:52 2014 +0100 (2014-12-09)
parents 4e805e1b2e7b
children b278b2018965
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 }