wok-6.x view ntl/receipt @ rev 20924
updated flashrom (0.9.6.1 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 02 09:50:24 2019 +0100 (2019-03-02) |
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 }