26 lines
851 B
Bash
26 lines
851 B
Bash
# Template file for 'eclib'
|
|
pkgname=eclib
|
|
version=20230424
|
|
revision=3
|
|
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/v${version}/eclib-${version}.tar.bz2"
|
|
checksum=1422decfcabebb0ad42f7f58c5aefe5bd8fa11757b45e31a186384fd037cd5c1
|
|
|
|
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
|
|
}
|
|
}
|