26 lines
850 B
Bash
26 lines
850 B
Bash
# Template file for 'eclib'
|
|
pkgname=eclib
|
|
version=20250122
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-flint --with-boost"
|
|
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"
|
|
changelog="https://github.com/JohnCremona/eclib/releases"
|
|
distfiles="https://github.com/JohnCremona/eclib/releases/download/${version}/eclib-${version}.tar.bz2"
|
|
checksum=9f8c2b32e24a4f20d7cc2d336ea30c8ea03b5b0953c2d32adda0c496e7616899
|
|
|
|
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
|
|
}
|
|
}
|