wok annotate ntl/receipt @ rev 24241
updated perl-net-dns (1.23 -> 1.33)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:24:15 2022 +0100 (2022-01-02) |
parents | 3d9966aceee9 |
children | ad8b9ff412d2 |
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="" |
pascal@23884 | 15 BUILD_DEPENDS="gcc83 gcc83-lib-base 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 export CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" |
Hans-G?nter@23253 | 21 |
pascal@23893 | 22 cd $src/src |
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 } |