diff options
Diffstat (limited to 'sci-mathematics/gmp-ecm')
-rw-r--r-- | sci-mathematics/gmp-ecm/ChangeLog | 7 | ||||
-rw-r--r-- | sci-mathematics/gmp-ecm/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/gmp-ecm/gmp-ecm-6.4.4.ebuild | 58 |
3 files changed, 67 insertions, 2 deletions
diff --git a/sci-mathematics/gmp-ecm/ChangeLog b/sci-mathematics/gmp-ecm/ChangeLog index c4479ade0785..ae9fe441d542 100644 --- a/sci-mathematics/gmp-ecm/ChangeLog +++ b/sci-mathematics/gmp-ecm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/gmp-ecm # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gmp-ecm/ChangeLog,v 1.7 2013/01/01 17:08:45 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gmp-ecm/ChangeLog,v 1.8 2013/03/07 07:51:19 patrick Exp $ + +*gmp-ecm-6.4.4 (07 Mar 2013) + + 07 Mar 2013; Patrick Lauer <patrick@gentoo.org> +gmp-ecm-6.4.4.ebuild: + Bump for #460648 *gmp-ecm-6.4.3-r5 (01 Jan 2013) diff --git a/sci-mathematics/gmp-ecm/Manifest b/sci-mathematics/gmp-ecm/Manifest index 428f2b264e94..1deb61b9bb33 100644 --- a/sci-mathematics/gmp-ecm/Manifest +++ b/sci-mathematics/gmp-ecm/Manifest @@ -1,5 +1,7 @@ DIST gmp-ecm-6.4.3.tar.gz 944719 SHA256 946c9870c0b76ada2f6342515386828800c096fe32ff347c82374d5a4ec73685 SHA512 71ccdf3b48e96b0acad45302c87a7b17a20ad289efde212a34fb11491531b96848f1824606fdab7604874ca7d8165baba4bbfbc8424e27e8844444ad0d4f56a6 WHIRLPOOL b177904307fefbffc0c8aec2d20eb6de8475428f84f4e263b032fd47b671dba44211a2fcb80cacead76545429a7df5cd444137853145ee4ced62cb8356753579 +DIST gmp-ecm-6.4.4.tar.gz 944719 SHA256 946c9870c0b76ada2f6342515386828800c096fe32ff347c82374d5a4ec73685 SHA512 71ccdf3b48e96b0acad45302c87a7b17a20ad289efde212a34fb11491531b96848f1824606fdab7604874ca7d8165baba4bbfbc8424e27e8844444ad0d4f56a6 WHIRLPOOL b177904307fefbffc0c8aec2d20eb6de8475428f84f4e263b032fd47b671dba44211a2fcb80cacead76545429a7df5cd444137853145ee4ced62cb8356753579 EBUILD gmp-ecm-6.4.3-r5.ebuild 1657 SHA256 8906df01347767891aa7cfb916656839bc0da6cb5ce2794f0ffa00b66bbe87a8 SHA512 c67d903361b74f3a3af3a834d682e5e18f16246aded5ad7066b784a9a804a963b227e3973b636cc4fc65fc45ed2a0d4094f7b7ccaab8292c0d458e111fd7e83b WHIRLPOOL 834d337288650b6897df4122c9ba67f37876177cd9761a9a9d67fc63588717a049ec987494191c19ec06b7317268665ad0f9188d0139fca36be0f46ac25025d1 +EBUILD gmp-ecm-6.4.4.ebuild 1713 SHA256 89324d3f0e58df6fc6af37fd7db3adbc1b740b317de633eadebf137068b1ea9d SHA512 ea972e0691193f508d5499c385882930a7623955a408aa84627da85cc24c9129dcb3f57ce1f7b4e92b1e2b5a39405005b40390ed3cf6454ac86912dc2a9e5733 WHIRLPOOL 75e86d20619dc6cba44a5031a6248636cbfe6449a0d5695e25c0681ce5f5d5d0ef0648ec7d785706495d4fc17406da1a4822fad05a19bb41e8d88c8d86d5583f EBUILD gmp-ecm-9999.ebuild 1667 SHA256 9c52c313c156f1573c22fabf754a67337d90d3431ed186b8bc7c660b20ea63ea SHA512 ec38cd3585f4164ae28b04c5f9b6003e6dba4bfe2cf9f6d09f971cebb35ae7009c0c942cc35f3a0fee86e1676fb70c5e43aa29e349799c85f96b6a6e12bcbebd WHIRLPOOL 4ef4171cc9d3b4ab62ec9d418edd718f530b86e6468b139416726fe5147e664289d99d53735a71cf19a2f72a777adb118cb76df27dda72109ea3d21a7553f9b4 -MISC ChangeLog 1419 SHA256 545775900346806dc8371c54b139c625612c2ea8d13485e90211fbe7c6895dbd SHA512 9deb3fd061173573a9f05c0c2af567bf3b362cc2a51d23ea796e333945f8bc60f8ce1a677909f09f8d1b8de6e94f4a4fde3d93ce44fa907017398d02a06b0b9f WHIRLPOOL 06fc11356e943625369acb510d2d5b529749f50e5693c42eefe47ec4f765fae78a8c32890d3ee6699801c07b6520995d0bf4b1f59089cc399a5b1d9286422b2d +MISC ChangeLog 1542 SHA256 f4ec07c3937633741968e832f1cc7ef46ee53dca1163becd7ed98a1f14700d3d SHA512 0d99de18e81f2a84b6c1f42b6d101396cc4903e3acb751e9d0340466cf80ff0b371d83fa73da14c159246b2a6beca9edbac63c94c69f9e3efcce8a41acf7d1a3 WHIRLPOOL 4a10c221f648d442fc90ea2cc78a09c86981f8a154c99a4a8ba21eecdb357051c3541bc06944a90a6fda791e7a92581297757c8302d52e18b3dc1b6518b4942e MISC metadata.xml 417 SHA256 1e7f554d5355a3d44dc5330b0d619ddf4d86b6d23483321f0e40f9a8dc2903fe SHA512 198b02f666fa79c2393aa75a53dd66e7b98adf058219df8ceb02cbeb6a954c5203f8a9874fac476286a3e32ea028d3be203707d1c2ad70858ae0f6be4389c8bc WHIRLPOOL 2ba8c72645243bcd0c616ecbef88ab2e276042d195e30fa7985083db5bdb1e011ac7dfb17383cb845a99d423823e422e181da88137530e4c7696e3139f83eef0 diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4.ebuild new file mode 100644 index 000000000000..75c70616162d --- /dev/null +++ b/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gmp-ecm/gmp-ecm-6.4.4.ebuild,v 1.1 2013/03/07 07:51:19 patrick Exp $ + +EAPI=4 +DESCRIPTION="Elliptic Curve Method for Integer Factorization" +HOMEPAGE="http://ecm.gforge.inria.fr/" +SRC_URI="https://gforge.inria.fr/frs/download.php/30965/${P}.tar.gz" + +inherit eutils flag-o-matic + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+blas +custom-tune gwnum -openmp test" + +# gmp 5.1 breaks a few things with this version +DEPEND="dev-libs/gmp + blas? ( sci-libs/gsl ) + gwnum? ( sci-mathematics/gwnum ) + openmp? ( sys-devel/gcc[openmp] )" +RDEPEND="${DEPEND}" + +# can't be both enabled +REQUIRED_USE="gwnum? ( !openmp )" + +# little oopsie +S=${WORKDIR}/ecm-6.4.3 + +src_configure() { + if use gwnum; then myconf="--with-gwnum=/usr/lib"; fi + # --enable-shellcmd is broken + econf $(use_enable openmp) $myconf || die +} + +src_compile() { + append-ldflags "-Wl,-z,noexecstack" + if use custom-tune; then + use amd64 && cd x86_64 + use x86 && cd pentium4 + emake -j1 || die # build libecm/libmulredc.la + cd .. && make bench_mulredc || die + sed -i -e 's:#define TUNE_MULREDC_TABLE://#define TUNE_MULREDC_TABLE:g' `readlink ecm-params.h` || die + sed -i -e 's:#define TUNE_SQRREDC_TABLE://#define TUNE_SQRREDC_TABLE:g' `readlink ecm-params.h` || die + ./bench_mulredc | tail -n 4 >> `readlink ecm-params.h` || die + fi + emake -j1 || die +} + +src_install() { + emake DESTDIR="${D}" install || die + mkdir -p "${D}/usr/include/${PN}/" + cp "${S}"/*.h "${D}/usr/include/${PN}" || die "Failed to copy headers" # needed by other apps like YAFU +} + +src_test() { + make check || die +} |