From a5b65c81168c90928784a1e92cda84ed5d6b9eb3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Sep 2019 19:33:39 +0100 Subject: gentoo resync : 25.09.2019 --- sci-mathematics/gmp-ecm/Manifest | 2 +- sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r1.ebuild | 54 ++++++++++++++++++++++++ sci-mathematics/gmp-ecm/gmp-ecm-7.0.4.ebuild | 55 ------------------------- 3 files changed, 55 insertions(+), 56 deletions(-) create mode 100644 sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r1.ebuild delete mode 100644 sci-mathematics/gmp-ecm/gmp-ecm-7.0.4.ebuild (limited to 'sci-mathematics/gmp-ecm') diff --git a/sci-mathematics/gmp-ecm/Manifest b/sci-mathematics/gmp-ecm/Manifest index d5bb9e2ec41d..bb447509e5ed 100644 --- a/sci-mathematics/gmp-ecm/Manifest +++ b/sci-mathematics/gmp-ecm/Manifest @@ -3,6 +3,6 @@ DIST gmp-ecm-6.4.4.tar.gz 941058 BLAKE2B e83f02592a8bb86285f258fefc3e302cc516888 DIST gmp-ecm-7.0.4.tar.gz 1101899 BLAKE2B 6d52364d9c752aee66510a7f6b273559bf1b7de0032fbbeff74e229ed68fd0cd1c236b480f8fc25bcad6435740e3e22b3099c8f018912918ab8f4b33dc7b8b3c SHA512 b863b9bfd26df26c3c4243686036a69110e69ca3eec5b31d4550fe713e2fac4ce70cd1d80f0614899793aa44710531aa4a21abc0fa1b99eb17f62bd92b971350 EBUILD gmp-ecm-6.4.3-r5.ebuild 1370 BLAKE2B ad6bf30df573f77c458268b81d63157cb66ef6b0a9b6a99a2eccef27c70caac2ba51eda8d056781712fe8aa33a65128aa742ac3ac5ba5914145882a8401345ba SHA512 6c2e766207e64b1b4837720f39f99e7efc644218178a44ad994585e2febc3c13b70a2c684a89964834ccdddac6d7f60d63543b7d5f8eba90906c85f760bfb513 EBUILD gmp-ecm-6.4.4-r1.ebuild 1474 BLAKE2B cf8ce605ccdb5a1b26db33a01989a06b8395840a84c700f7e420e8b69edc0bf4a91e03f84ce66e2d13184b10212c1e375c273d67c043adbf57e99b7462fc93eb SHA512 da6edd387bef9b397d431ee5ac7700e651a9751fb7aff1413151bf7a7f1e312def417514c7ff536a454c5b46f7405a26ad5fdbecf743f0d667313a1da6c00e22 -EBUILD gmp-ecm-7.0.4.ebuild 1163 BLAKE2B 1b47e6286c06526166e3a4e9c612ae0fee5e36e1220d9c33dbe5d93a7d2a0fa1afad87ca5f15656c9a8663044c820b09df54d6c76775da41d53926a36983ad65 SHA512 154195e3ab1ce965e8df9862a9c0571726a3426c3e3c90861913dc1937998d8be4172a2bf7207762dd2dea30a0d17d93b9257fc19a0c553306bb6f527a135493 +EBUILD gmp-ecm-7.0.4-r1.ebuild 1203 BLAKE2B e1c8e29bd3a42277aac1029f2a7b840cfacaf8cfb057e250ba597849858b4e6e1a45c4a4c6f2917a9834b53fed92faa7d5bc020b15dbe17c64d923e015827010 SHA512 a42cb6e57827da2c6e28858da18c65d0e70319dbd646378e9dab1d4ed5c138d842e9ad5aa6a2853d0abe6aeadee24fbffeb45fae955ae213ccca1d692cd2b8e8 EBUILD gmp-ecm-9999.ebuild 1026 BLAKE2B 26e3b858f684136f9909a00f58240359cb6f09cafb64276e1c14efc7d26f13dc9b676809c8bf8d8b3b3342847b87de2b19ba5f37096a975e870694a6fb082cd3 SHA512 2f4314e9578bdc129af573c540e2f4cb26549a5a5bbfd640bdcdd50afc55b6bd05f10486a0382be4f13d4c4fac3dc93bcffd44faddfbafcafdaaf9b64d2cc579 MISC metadata.xml 384 BLAKE2B 168807abd87bddc88522015f01126d5ec0bde8716aa38b6e619054d39e9bb12a6ffdaa3082328ecb56c0398b498c964c8e28c818d3887919fbe3065a28673f2a SHA512 a8a7aa64869c88ac293347281a80158cbd3cc84fc9f5ca56531d3d53b33601f9baa5c4f66c93508d6763dc54779a563faa09c4a473c670a9b217610efecca25c diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r1.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r1.ebuild new file mode 100644 index 000000000000..67ee92316610 --- /dev/null +++ b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils flag-o-matic multilib + +DESCRIPTION="Elliptic Curve Method for Integer Factorization" +HOMEPAGE="http://ecm.gforge.inria.fr/" +SRC_URI="https://gforge.inria.fr/frs/download.php/36224/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+blas +custom-tune -openmp static-libs test" + +DEPEND=" + dev-libs/gmp:0= + blas? ( sci-libs/gsl ) + openmp? ( sys-devel/gcc:*[openmp] )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/ecm-${PV} + +MAKEOPTS+=" -j1" + +src_prepare() { + sed -e '/libecm_la_LIBADD/s:$: -lgmp:g' -i Makefile.am || die + eautoreconf +} + +src_configure() { + # --enable-shellcmd is broken + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable openmp) \ + ${myconf} +} + +src_compile() { + append-ldflags "-Wl,-z,noexecstack" + if use custom-tune; then + emake && emake ecm-params # need to build all to get benchmark bits, then run benchmark + emake + fi + default +} + +src_install() { + default + mkdir -p "${ED}/usr/include/${PN}/" + cp "${S}"/*.h "${ED}/usr/include/${PN}" || die "Failed to copy headers" # needed by other apps like YAFU +} diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4.ebuild deleted file mode 100644 index 54f7a1bbd2df..000000000000 --- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils flag-o-matic multilib - -DESCRIPTION="Elliptic Curve Method for Integer Factorization" -HOMEPAGE="http://ecm.gforge.inria.fr/" -SRC_URI="https://gforge.inria.fr/frs/download.php/36224/${P}.tar.gz" - -LICENSE="GPL-3 LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+blas +custom-tune -openmp static-libs test" - -DEPEND=" - dev-libs/gmp:0= - blas? ( sci-libs/gsl ) - openmp? ( sys-devel/gcc:*[openmp] )" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/ecm-${PV} - -MAKEOPTS+=" -j1" - -src_prepare() { - sed -e '/libecm_la_LIBADD/s:$: -lgmp:g' -i Makefile.am || die - eautoreconf -} - -src_configure() { - # --enable-shellcmd is broken - econf \ - --enable-shared \ - $(use_enable static-libs static) \ - $(use_enable openmp) \ - ${myconf} -} - -src_compile() { - append-ldflags "-Wl,-z,noexecstack" - if use custom-tune; then - use amd64 && cd x86_64 - use x86 && cd pentium4 - emake - fi - default -} - -src_install() { - default - mkdir -p "${ED}/usr/include/${PN}/" - cp "${S}"/*.h "${ED}/usr/include/${PN}" || die "Failed to copy headers" # needed by other apps like YAFU -} -- cgit v1.2.3