wok view ntl/receipt @ rev 14909

slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 05 11:40:01 2013 +0300 (2013-08-05)
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 }