New package: ntl-11.5.1
This commit is contained in:
parent
a77b0a77df
commit
492d9102b0
@ -3985,6 +3985,7 @@ libpari-gmp-tls.so.7 pari-2.13.2_1
|
|||||||
libtree-sitter.so.0 tree-sitter-0.19.0_1
|
libtree-sitter.so.0 tree-sitter-0.19.0_1
|
||||||
libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
|
libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
|
||||||
libgf2x.so.3 gf2x-1.3.0_1
|
libgf2x.so.3 gf2x-1.3.0_1
|
||||||
|
libntl.so.44 ntl-11.5.1_1
|
||||||
libwayland-client++.so.0 libwaylandpp-0.2.8_1
|
libwayland-client++.so.0 libwaylandpp-0.2.8_1
|
||||||
libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
|
libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
|
||||||
libwayland-egl++.so.0 libwaylandpp-0.2.8_1
|
libwayland-egl++.so.0 libwaylandpp-0.2.8_1
|
||||||
|
1
srcpkgs/ntl-devel
Symbolic link
1
srcpkgs/ntl-devel
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
ntl
|
35
srcpkgs/ntl/template
Normal file
35
srcpkgs/ntl/template
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Template file for 'ntl'
|
||||||
|
pkgname=ntl
|
||||||
|
version=11.5.1
|
||||||
|
revision=1
|
||||||
|
build_wrksrc="src"
|
||||||
|
build_style=configure
|
||||||
|
hostmakedepends="perl libtool"
|
||||||
|
makedepends="gmp-devel gf2x-devel"
|
||||||
|
short_desc="Library for doing Number Theory"
|
||||||
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||||
|
license="LGPL-2.1-or-later"
|
||||||
|
homepage="https://libntl.org"
|
||||||
|
distfiles="https://libntl.org/ntl-${version}.tar.gz"
|
||||||
|
checksum=210d06c31306cbc6eaf6814453c56c776d9d8e8df36d74eb306f6a523d1c6a8a
|
||||||
|
nocross=yes # runs binaries built for target
|
||||||
|
|
||||||
|
build_options="native_build"
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
# see http://www.shoup.net/ntl/doc/tour-unix.html
|
||||||
|
./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS" LIBTOOL="libtool" \
|
||||||
|
PREFIX="/usr" SHARED="on" NTL_GF2X_LIB="on" \
|
||||||
|
NATIVE="$(vopt_if native_build 'on' 'off')"
|
||||||
|
}
|
||||||
|
|
||||||
|
ntl-devel_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
vmove usr/share
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/ntl/update
Normal file
1
srcpkgs/ntl/update
Normal file
@ -0,0 +1 @@
|
|||||||
|
site="https://libntl.org/download.html"
|
Loading…
x
Reference in New Issue
Block a user