wok-current view ntl/receipt @ rev 14512
Add lynis
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 13:55:15 2013 +0200 (2013-05-14) |
parents | |
children | 3765f181a6d5 |
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 WEB_SITE="http://shoup.net/ntl/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$WEB_SITE/$TARBALL"
12 DEPENDS=""
13 BUILD_DEPENDS="gmp-dev gf2x-dev libtool"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/src
19 ./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \
20 DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on &&
21 make &&
22 sed -i '/^DEF_PREFIX=\/usr$/d' makefile
23 make DEF_PREFIX=$install/usr install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }