mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sci-mathematics/gmp-ecm: remove old "unused" gmp-ecm-7.0.4-r2.ebuild.
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST ecm-7.0.4.tar.gz 1101899 BLAKE2B 6d52364d9c752aee66510a7f6b273559bf1b7de0032fbbeff74e229ed68fd0cd1c236b480f8fc25bcad6435740e3e22b3099c8f018912918ab8f4b33dc7b8b3c SHA512 b863b9bfd26df26c3c4243686036a69110e69ca3eec5b31d4550fe713e2fac4ce70cd1d80f0614899793aa44710531aa4a21abc0fa1b99eb17f62bd92b971350
|
||||
DIST gmp-ecm-7.0.4.tar.gz 1101899 BLAKE2B 6d52364d9c752aee66510a7f6b273559bf1b7de0032fbbeff74e229ed68fd0cd1c236b480f8fc25bcad6435740e3e22b3099c8f018912918ab8f4b33dc7b8b3c SHA512 b863b9bfd26df26c3c4243686036a69110e69ca3eec5b31d4550fe713e2fac4ce70cd1d80f0614899793aa44710531aa4a21abc0fa1b99eb17f62bd92b971350
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Elliptic Curve Method for Integer Factorization"
|
||||
HOMEPAGE="http://ecm.gforge.inria.fr/"
|
||||
SRC_URI="https://gforge.inria.fr/frs/download.php/file/36224/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86 ~ppc-macos ~x64-macos"
|
||||
IUSE="+custom-tune openmp static-libs cpu_flags_x86_sse2"
|
||||
|
||||
DEPEND="dev-libs/gmp:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/ecm-${PV}"
|
||||
|
||||
pkg_pretend() {
|
||||
use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use custom-tune; then
|
||||
# One "emake" was needed to build the library. Now we can find
|
||||
# the best set of parameters, and then run "emake" one more time
|
||||
# to rebuild the library with the custom parameters. See the
|
||||
# project's README or INSTALL-ecm. The build targets don't depend
|
||||
# on ecm-params.h, so we need to "make clean" to force a rebuild.
|
||||
emake ecm-params && emake clean && emake
|
||||
fi
|
||||
}
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable cpu_flags_x86_sse2 sse2) \
|
||||
$(use_enable custom-tune asm-redc)
|
||||
}
|
||||
Reference in New Issue
Block a user