wok annotate ntl/receipt @ rev 23433
updated physfs and physfs-dev (3.0.1 -> 3.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 17:36:27 2020 +0100 (2020-04-01) |
parents | 3765f181a6d5 |
children | 3d9966aceee9 |
rev | line source |
---|---|
al@13723 | 1 # SliTaz package receipt. |
al@13723 | 2 |
al@13723 | 3 PACKAGE="ntl" |
Hans-G?nter@23253 | 4 VERSION="11.4.3" |
al@13723 | 5 CATEGORY="utilities" |
Hans-G?nter@23253 | 6 SHORT_DESC="A Library for doing Number Theory." |
al@13723 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15584 | 8 LICENSE="GPL" |
Hans-G?nter@23253 | 9 WEB_SITE="https://shoup.net/ntl/" |
Hans-G?nter@23253 | 10 |
al@13723 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@13723 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
al@13723 | 13 |
al@13723 | 14 DEPENDS="" |
Hans-G?nter@23253 | 15 BUILD_DEPENDS="gcc83 gf2x-dev glibc-dev gmp-dev libtool perl" |
al@13723 | 16 |
al@13723 | 17 # Rules to configure and make the package. |
al@13723 | 18 compile_rules() |
al@13723 | 19 { |
Hans-G?nter@23253 | 20 cd src |
Hans-G?nter@23253 | 21 export CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" |
Hans-G?nter@23253 | 22 |
Hans-G?nter@23253 | 23 ./configure \ |
Hans-G?nter@23253 | 24 CXX=g++-83 \ |
Hans-G?nter@23253 | 25 DEF_PREFIX=/usr \ |
Hans-G?nter@23253 | 26 NTL_STD_CXX11=on \ |
Hans-G?nter@23253 | 27 NTL_GMP_LIP=on \ |
Hans-G?nter@23253 | 28 NTL_GF2X_LIB=on && |
al@13723 | 29 make && |
Hans-G?nter@23253 | 30 sed -i '/^DEF_PREFIX=\/usr$/d' makefile && |
al@13723 | 31 make DEF_PREFIX=$install/usr install |
al@13723 | 32 } |
al@13723 | 33 |
al@13723 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13723 | 35 genpkg_rules() |
al@13723 | 36 { |
Hans-G?nter@23253 | 37 cp -a $install/* $fs |
al@13723 | 38 } |