# Template file for 'eclib' pkgname=eclib version=20221012 revision=2 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=bd6f0191876c1426ca57db851ce06ef79ea1755f01e81dd747358d1b76b5e932 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 } }