2017-09-01 17:58:44 +02:00
|
|
|
# Template file for 'ecm'
|
|
|
|
pkgname=ecm
|
|
|
|
version=7.0.4
|
2017-09-06 11:47:17 +02:00
|
|
|
revision=2
|
2017-09-01 17:58:44 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-shared --enable-openmp"
|
2017-09-06 11:56:25 +02:00
|
|
|
hostmakedepends="m4"
|
2017-09-01 17:58:44 +02:00
|
|
|
makedepends="gmp-devel libgomp-devel"
|
|
|
|
short_desc="Elliptic Curve Method for Integer Factorization"
|
|
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://ecm.gforge.inria.fr/"
|
|
|
|
distfiles="https://gforge.inria.fr/frs/download.php/file/36224/ecm-${version}.tar.gz"
|
|
|
|
checksum=0cf7b3eee8462cc6f98b418b47630e1eb6b3f4f8c3fc1fb005b08e2a1811ba43
|
|
|
|
|
|
|
|
do_check() {
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vbin aprcl
|
|
|
|
vbin .libs/ecmfactor
|
|
|
|
}
|
|
|
|
ecm-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|