ecm: update to 7.0.6.

This commit is contained in:
Leah Neukirchen 2024-07-05 16:37:38 +02:00
parent 91dfdb5ce8
commit f65cd990e9
1 changed files with 9 additions and 4 deletions

View File

@ -1,27 +1,32 @@
# Template file for 'ecm' # Template file for 'ecm'
pkgname=ecm pkgname=ecm
version=7.0.5 version=7.0.6
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-shared --enable-openmp" configure_args="--enable-shared --enable-openmp"
hostmakedepends="m4" hostmakedepends="automake libtool m4"
makedepends="gmp-devel libgomp-devel" makedepends="gmp-devel libgomp-devel"
short_desc="Elliptic Curve Method for Integer Factorization" short_desc="Elliptic Curve Method for Integer Factorization"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://gitlab.inria.fr/zimmerma/ecm" homepage="https://gitlab.inria.fr/zimmerma/ecm"
distfiles="https://gitlab.inria.fr/zimmerma/ecm/uploads/89f6f0d65d3e980cef33dc922004e4b2/ecm-${version}.tar.gz" distfiles="https://gitlab.inria.fr/zimmerma/ecm/-/archive/git-${version}/ecm-git-${version}.tar.gz"
checksum=c721dd22e557c4a5dac9ac7e156a400cd2298812dd1f9b56e89966de01471ba8 checksum=d7f7cbfe414ae019fa0cd610685b9ad4d04d333ee3d826a05e6e5affd95ca91a
# ppc64 asm only provided for BE and ELFv1, we're ELFv2 for BE and LE # ppc64 asm only provided for BE and ELFv1, we're ELFv2 for BE and LE
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
ppc64*) configure_args+=" --disable-asm-redc";; ppc64*) configure_args+=" --disable-asm-redc";;
esac esac
pre_configure() {
autoreconf -fi
}
post_install() { post_install() {
vbin aprcl vbin aprcl
vbin .libs/ecmfactor vbin .libs/ecmfactor
} }
ecm-devel_package() { ecm-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"