New package: eclib-20210625

This commit is contained in:
Gonzalo Tornaría 2020-06-01 14:50:01 -03:00 committed by Érico Nogueira Rolim
parent 20bbe10269
commit db3cc41ce5
3 changed files with 31 additions and 0 deletions

View file

@ -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

1
srcpkgs/eclib-devel Symbolic link
View file

@ -0,0 +1 @@
eclib

29
srcpkgs/eclib/template Normal file
View file

@ -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 <tornaria@cmat.edu.uy>"
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
}
}