30 lines
863 B
Bash
30 lines
863 B
Bash
# 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
|
|
}
|
|
}
|