wok-6.x view ntl/receipt @ rev 14637

Xorg: add xorg-libXScrnSaver(-dev); reformat receipts and add licenses: xorg-libFS* xorg-libICE* xorg-libSM* xorg-libXext* xorg-libXmu* xorg-libXt*
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 02 12:47:38 2013 +0000 (2013-06-02)
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 }