summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-11-19 06:19:56 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-11-19 06:19:56 +0000
commit051cceead7ffa82079f634ba8180af59c4affd43 (patch)
tree773c0948b680960443af92bdea0e86d945e1c9c7 /sci-mathematics/msieve
parentmoved 'use suid && fperms 04710 /check_{icmp,ide_smart,dhcp}' below chmod (diff)
downloadhistorical-051cceead7ffa82079f634ba8180af59c4affd43.tar.gz
historical-051cceead7ffa82079f634ba8180af59c4affd43.tar.bz2
historical-051cceead7ffa82079f634ba8180af59c4affd43.zip
Moving headers to fix build failures in other apps #443870
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics/msieve')
-rw-r--r--sci-mathematics/msieve/ChangeLog7
-rw-r--r--sci-mathematics/msieve/Manifest3
-rw-r--r--sci-mathematics/msieve/msieve-1.50-r1.ebuild48
3 files changed, 56 insertions, 2 deletions
diff --git a/sci-mathematics/msieve/ChangeLog b/sci-mathematics/msieve/ChangeLog
index 72df0e458161..777eb02cf169 100644
--- a/sci-mathematics/msieve/ChangeLog
+++ b/sci-mathematics/msieve/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/msieve
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/ChangeLog,v 1.3 2012/11/16 04:14:45 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/ChangeLog,v 1.4 2012/11/19 06:19:46 patrick Exp $
+
+*msieve-1.50-r1 (19 Nov 2012)
+
+ 19 Nov 2012; Patrick Lauer <patrick@gentoo.org> +msieve-1.50-r1.ebuild:
+ Moving headers to fix build failures in other apps #443870
16 Nov 2012; Patrick Lauer <patrick@gentoo.org> msieve-1.50.ebuild:
Adding mpi support
diff --git a/sci-mathematics/msieve/Manifest b/sci-mathematics/msieve/Manifest
index a8f322208eeb..51fb52c4df1d 100644
--- a/sci-mathematics/msieve/Manifest
+++ b/sci-mathematics/msieve/Manifest
@@ -1,4 +1,5 @@
DIST msieve150src.tar.gz 547458 SHA256 42e58975fe03ba8d3ffae096962aa4d53d381aa0f9cfb5e6244da11eadcce676 SHA512 f6a722d2dd87c44f07ec713b35cf22efdeb1149e06b2e8c02abefc0681a0c2b9dc68cad97a39f8fa84f739ad67993699eaad84c105ad7a01ca56da540b24dd03 WHIRLPOOL 6886e643f93d1426b794b53ca95f1e5ae18b69d653f71c00a1a2c481035142afe302a37709b4f8825239a8e1d6bc65c5e6fdda7f47219ca0e7c40e8ad1475c36
+EBUILD msieve-1.50-r1.ebuild 1271 SHA256 72511c405a69609abe99fb51c912a5122ed7cb3d506159e0b19873ed0e86b106 SHA512 42b8da23dbf156b54887ce7eb3c1159c3558523a2a0a600541076e76a3ddc9bc5ee2fb8ad48c49280097faec0ae794bcf4139a86797f62d9bf64170e8a3e2e44 WHIRLPOOL c713e7b927c143d6e7b22eb175a559aee90ec3b181d195ef780700fd3495b8d89dea4b7a79a29f7b468bf6bdde013b4ce4c5d2667cbb065f90ec62d451b94e91
EBUILD msieve-1.50.ebuild 1256 SHA256 b75b91bfde9a4eb76e7d6d4b88a0540a2d1651ae7d25255f24fb029ddabf91c3 SHA512 5b211f37581b8f8a103c53e9dd41630bce5b64c3c64394d50f414bae3e3bf81c47dc5d221e896c2a8bca4f3c6cfec3590043bf971988eb76dc69a23abdc5720c WHIRLPOOL a775aebf33bcdca8840b3bdd178fa26fe7a5f6fd31ef38e4e41e6ad05bcabe2d6180f5a7deb67ed6ae5f182fad2b3ac374d7fe7752da44fb53097b264837da36
-MISC ChangeLog 565 SHA256 a4e9070fd2b8e727cd7e2ab6baa2a28a4dce0128182b57e7c549c2cc351db9b1 SHA512 0bc7113fdc720ffb70726ac7c506f66b02cb42afdebc04b0408d2b5e30c6e6c35391c2c98c66c1003f0ccb0463279e1cc72f19123352992cf833cfe2c44a5a77 WHIRLPOOL d36e51caf7148d52ef4ce5da2d2661f263c9edb368fcd32bb37fc7864f51677839f9606294f44f8f2f425b55664c907b30dc581a06813805d1e35f6dd1d19adf
+MISC ChangeLog 732 SHA256 d5f1230d7cddc3e92923a19c32476f7e947a916c0d3fbacf0653028b36595a60 SHA512 3302b55fddbfb7e38205c9512cb6f6ba614fd8f17c83a8d04d20c2b62893925f561c6724d118e6282731369ff2b3356ef631bf7264701d83969c62cc74812443 WHIRLPOOL d332dc142921b62f858cf1a86ea07e0acda9eb44730b0084fb8d4e4dd398e76b76cdc48200843a0b94742c1ae147f37eaea94667b4e078a019972e1114bfe233
MISC metadata.xml 313 SHA256 cd226e0c19b92e49618bd4fe78419349e9821735756d4b1e19dcf52e8a62c5cb SHA512 bc088c0f8d8cb0ecdd4fd65082d618d6a0acefe855ee426c34b36da5dcdd93e39052de80cbb94cd8ca0803caaa3e4664b01a127d869c326a446163011c74169f WHIRLPOOL 08ede2862edbced89cd8faaa42f76410d7a8214e303bbb2885761aa45b9f3dca0eb4eb19333e46c508645d5daadf3bef887ac9dd1a3a4221ae7859ec819c5481
diff --git a/sci-mathematics/msieve/msieve-1.50-r1.ebuild b/sci-mathematics/msieve/msieve-1.50-r1.ebuild
new file mode 100644
index 000000000000..9e2eb2b634ce
--- /dev/null
+++ b/sci-mathematics/msieve/msieve-1.50-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/msieve-1.50-r1.ebuild,v 1.1 2012/11/19 06:19:46 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"
+
+inherit eutils
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="zlib +ecm mpi"
+
+DEPEND="ecm? ( sci-mathematics/gmp-ecm )
+ mpi? ( virtual/mpi )
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ if use ecm; then
+ export "ECM=1"
+ fi
+ if use mpi; then
+ export "MPI=1"
+ fi
+ if use zlib; then
+ export "ZLIB=1"
+ fi
+ if use amd64; then
+ emake x86_64 || die "Failed to build"
+ fi
+ if use x86; then
+ emake x86 || die "Failed to build"
+ fi
+}
+
+src_install() {
+ 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"
+}