wok-next view ntl/receipt @ rev 20691

aescrypt: add option for SHA256sum
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:42:16 2018 +0000 (2018-05-21)
parents b278b2018965
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 BUILD_DEPENDS="gmp-dev gf2x-dev libtool"
16 compile_rules() {
17 case $ARCH in
18 x86_64) Arch='nocona';;
19 *) Arch="$ARCH";;
20 esac
22 cd $src/src
23 ./configure \
24 CFLAGS="-march=$Arch -Os -pipe -fomit-frame-pointer" \
25 DEF_PREFIX=/usr \
26 NTL_STD_CXX=on \
27 NTL_GMP_LIP=on \
28 NTL_GF2X_LIB=on \
29 &&
30 make &&
31 sed -i '/^DEF_PREFIX=\/usr$/d' makefile &&
32 make DEF_PREFIX=$install/usr install
33 }
35 genpkg_rules() {
36 copy @dev
37 }