summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-mathematics/msieve/ChangeLog7
-rw-r--r--sci-mathematics/msieve/Manifest3
-rw-r--r--sci-mathematics/msieve/msieve-9999.ebuild55
3 files changed, 63 insertions, 2 deletions
diff --git a/sci-mathematics/msieve/ChangeLog b/sci-mathematics/msieve/ChangeLog
index 9be2ecfcadf4..c8d01faf424e 100644
--- a/sci-mathematics/msieve/ChangeLog
+++ b/sci-mathematics/msieve/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/msieve
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/ChangeLog,v 1.10 2013/01/06 13:35:19 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/ChangeLog,v 1.11 2013/01/06 14:20:34 patrick Exp $
+
+*msieve-9999 (06 Jan 2013)
+
+ 06 Jan 2013; Patrick Lauer <patrick@gentoo.org> +msieve-9999.ebuild:
+ Adding live ebuild
06 Jan 2013; Patrick Lauer <patrick@gentoo.org> msieve-1.50-r4.ebuild:
Small dependency tweak to avoid linking problems
diff --git a/sci-mathematics/msieve/Manifest b/sci-mathematics/msieve/Manifest
index 669c95fff69b..308184bd96df 100644
--- a/sci-mathematics/msieve/Manifest
+++ b/sci-mathematics/msieve/Manifest
@@ -5,5 +5,6 @@ AUX reduce-printf2.patch 1351 SHA256 f126280f92979925c1fa6e8640f0a5985d6b75a67c6
AUX reduce-printf3.patch 1145 SHA256 144d5ee944cefc7169ce8a7735f9ea1e43a94fc383f0ccd0bd3906edd3a98b75 SHA512 5a7f8ac795b7a04b6d6df8f9985e98a0c34d4bcefd8405b289987e45cd93dd967aaf4b54b212a37e4992e38135bcba849f62eb27af50746325b37c26bcc03cc1 WHIRLPOOL c73cc23d3676391927e2a70b058021c7e6b37483c75b313a4649c675fbf11f864f5a1617eaed09e909b124deb0510e06f2a8c1b1c75d6dd2ae43332a2bba133e
DIST msieve150src.tar.gz 547458 SHA256 42e58975fe03ba8d3ffae096962aa4d53d381aa0f9cfb5e6244da11eadcce676 SHA512 f6a722d2dd87c44f07ec713b35cf22efdeb1149e06b2e8c02abefc0681a0c2b9dc68cad97a39f8fa84f739ad67993699eaad84c105ad7a01ca56da540b24dd03 WHIRLPOOL 6886e643f93d1426b794b53ca95f1e5ae18b69d653f71c00a1a2c481035142afe302a37709b4f8825239a8e1d6bc65c5e6fdda7f47219ca0e7c40e8ad1475c36
EBUILD msieve-1.50-r4.ebuild 1756 SHA256 6bfa43d1ae2e4972f2a7c000e3b39d7542ac4f7163a98c4725441ba941f99837 SHA512 0b63475828b3c598ad434dc0cb5d83ca88d2f17dcdb8d2e3a8ccae1081dbececdfce618f0b6f32369c77ac1ba0b0a11126a2c5b8ff87f38f1ab4efcc3c86e320 WHIRLPOOL 524deb43bd1c417cf7701d844ff2a5f8fda84e1e49aa453dadd4a6bf20655cd9d3f83e6cfac3b42f6648c02da1ceb44c0d5968d76d256e739558e1b629450a0f
-MISC ChangeLog 1724 SHA256 a7cbf7d710dbe1911ad86a6736aea2ec7ff0a6236adc6a68b2cde1916ce37f39 SHA512 6372c4374c1693e52c5199dc659deda91bf5a73c6c3409768e041bf7afeae70b0831d5b87da8da7bbc7a49da6c6aea0ac8c4ae203595bdfb66a1ff3727d8e2c4 WHIRLPOOL 5d9c53ba49d68c325b6c128dc66d84f6290ac400ae49a6d7f14798c2ee188e57c91c43ca3626f18ef7527095f01312340e333dc2cad4ba197c4a626783ff3749
+EBUILD msieve-9999.ebuild 1516 SHA256 54743662d247944dba49ba10be9f1c5ca8a260629abcd1d180e1bcc62fa5db48 SHA512 22663a812b025d96a952469e29eaab2ac8ecf54cf84b804a2f88f7a9878ef05ab5a5ab9b790af9aa2d32f893e44476d3ebd01a42c213b807bea99af3a3edf616 WHIRLPOOL 70685b927938332a08f260ed342be2c3f70f776c5ada579539b1c326211f78fd5c5d4ba5739c4d543279c4607b0c27bc89cdc76666bd1bb413bb195a96de5ee9
+MISC ChangeLog 1845 SHA256 0e5bd6b482132a953825acdd1f6388ef4c4e00549ccc956514ccefb16d0ef186 SHA512 f60b248358239ea5a565151e4c6c19a5184c47e71f0c7f5c4fccdf7c726f0125fa04ac1912eee8366593a8a60659a3733150704e1d2657261c255431dd94c96b WHIRLPOOL 0c09fb5d3bb299bdaad85bb501f2e014ccfc8161953ed4eada598fddc98a78595b89b70ce4ea1491a8ee8d81cc51887356832754d83bdd2a56e48779b8ebfea8
MISC metadata.xml 313 SHA256 cd226e0c19b92e49618bd4fe78419349e9821735756d4b1e19dcf52e8a62c5cb SHA512 bc088c0f8d8cb0ecdd4fd65082d618d6a0acefe855ee426c34b36da5dcdd93e39052de80cbb94cd8ca0803caaa3e4664b01a127d869c326a446163011c74169f WHIRLPOOL 08ede2862edbced89cd8faaa42f76410d7a8214e303bbb2885761aa45b9f3dca0eb4eb19333e46c508645d5daadf3bef887ac9dd1a3a4221ae7859ec819c5481
diff --git a/sci-mathematics/msieve/msieve-9999.ebuild b/sci-mathematics/msieve/msieve-9999.ebuild
new file mode 100644
index 000000000000..6e46621f34e5
--- /dev/null
+++ b/sci-mathematics/msieve/msieve-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/msieve-9999.ebuild,v 1.1 2013/01/06 14:20:34 patrick Exp $
+
+EAPI=4
+DESCRIPTION="A C library implementing a suite of algorithms to factor large integers"
+HOMEPAGE="http://sourceforge.net/projects/msieve/"
+#SRC_URI="mirror://sourceforge/${PN}/${PN}/Msieve%20v${PV}/${PN}${PV/./}src.tar.gz"
+ESVN_REPO_URI="https://msieve.svn.sourceforge.net/svnroot/msieve"
+
+inherit eutils subversion
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS=""
+IUSE="zlib +ecm mpi"
+
+# some linking troubles with gwnum
+DEPEND="ecm? ( sci-mathematics/gmp-ecm[-gwnum] )
+ mpi? ( virtual/mpi )
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ cd trunk
+ # TODO: Integrate ggnfs properly
+ sed -i -e 's/-march=k8//' Makefile || die
+ sed -i -e 's/CC =/#CC =/' Makefile || die
+ sed -i -e 's/CFLAGS =/CFLAGS +=/' Makefile || die
+}
+
+src_compile() {
+ cd trunk
+ if use ecm; then
+ export "ECM=1"
+ fi
+ if use mpi; then
+ export "MPI=1"
+ fi
+ if use zlib; then
+ export "ZLIB=1"
+ fi
+ emake all || die "Failed to build"
+}
+
+src_install() {
+ cd trunk
+ mkdir -p "${D}/usr/include/msieve"
+ mkdir -p "${D}/usr/lib/"
+ mkdir -p "${D}/usr/share/doc/${P}/"
+ cp include/* "${D}/usr/include/msieve" || die "Failed to install"
+ cp libmsieve.a "${D}/usr/lib/" || die "Failed to install"
+ dobin msieve || die "Failed to install"
+ cp Readme* "${D}/usr/share/doc/${P}/" || die "Failed to install"
+}