diff --git a/common/shlibs b/common/shlibs index 76a40ce5fe4..773f18ca415 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3985,6 +3985,7 @@ libpari-gmp-tls.so.7 pari-2.13.2_1 libtree-sitter.so.0 tree-sitter-0.19.0_1 libgtkdatabox.so.1 gtkdatabox3-1.0.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-cursor++.so.0 libwaylandpp-0.2.8_1 libwayland-egl++.so.0 libwaylandpp-0.2.8_1 diff --git a/srcpkgs/ntl-devel b/srcpkgs/ntl-devel new file mode 120000 index 00000000000..fc0a3998732 --- /dev/null +++ b/srcpkgs/ntl-devel @@ -0,0 +1 @@ +ntl \ No newline at end of file diff --git a/srcpkgs/ntl/template b/srcpkgs/ntl/template new file mode 100644 index 00000000000..e4b84a45cd3 --- /dev/null +++ b/srcpkgs/ntl/template @@ -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 " +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 + } +} diff --git a/srcpkgs/ntl/update b/srcpkgs/ntl/update new file mode 100644 index 00000000000..7ca2974b146 --- /dev/null +++ b/srcpkgs/ntl/update @@ -0,0 +1 @@ +site="https://libntl.org/download.html"