wok-next view ntl/receipt @ rev 20682
Remove aspell-* dictionary packages; add aspell-dicts: receipt produces different packages with different versions (require cookutils >= 1057)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 18 12:53:47 2018 +0300 (2018-05-18) |
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 }