diff --git a/common/shlibs b/common/shlibs index 5f935c176c2..dd7d30a3cbd 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3988,6 +3988,7 @@ libgf2x.so.3 gf2x-1.3.0_1 libntl.so.44 ntl-11.5.1_1 libflint.so.16 flintlib-2.8.0_1 libarb.so.2 arb-2.20.0_1 +libec.so.8 eclib-20210625_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/eclib-devel b/srcpkgs/eclib-devel new file mode 120000 index 00000000000..d29e610e924 --- /dev/null +++ b/srcpkgs/eclib-devel @@ -0,0 +1 @@ +eclib \ No newline at end of file diff --git a/srcpkgs/eclib/template b/srcpkgs/eclib/template new file mode 100644 index 00000000000..3db0bd2119b --- /dev/null +++ b/srcpkgs/eclib/template @@ -0,0 +1,29 @@ +# Template file for 'eclib' +pkgname=eclib +version=20210625 +revision=1 +build_style=gnu-configure +configure_args="--with-flint --with-boost" +hostmakedepends="automake autoconf-archive libtool" +makedepends="pari-devel ntl-devel flintlib-devel boost-devel" +short_desc="Elliptic curve library, includes mwrank" +maintainer="Gonzalo TornarĂ­a " +license="GPL-2.0-or-later" +homepage="https://github.com/JohnCremona/eclib" +distfiles="https://github.com/JohnCremona/eclib/archive/refs/tags/${version}.tar.gz" +checksum=00333fd36afd237c9e6e410c7ab98536ddcd7fdc430e6837fe293247b835c572 + +pre_configure() { + autoreconf -fi +} + +eclib-devel_package() { + depends="${sourcepkg}>=${version}_${revision} ntl-devel" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } +}