summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-02-23 19:58:07 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-02-23 19:58:07 +0000
commitc420ca05c4475b20c535955a5cf3625c1e71686c (patch)
treed726021732e3e972fdc49d596f2d65087d86220d /sci-libs
parentBump (diff)
downloadgentoo-2-c420ca05c4475b20c535955a5cf3625c1e71686c.tar.gz
gentoo-2-c420ca05c4475b20c535955a5cf3625c1e71686c.tar.bz2
gentoo-2-c420ca05c4475b20c535955a5cf3625c1e71686c.zip
Bump
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/umfpack/ChangeLog9
-rw-r--r--sci-libs/umfpack/umfpack-5.5.1.ebuild47
2 files changed, 54 insertions, 2 deletions
diff --git a/sci-libs/umfpack/ChangeLog b/sci-libs/umfpack/ChangeLog
index aedeb1911e2b..7d9ca2974e23 100644
--- a/sci-libs/umfpack/ChangeLog
+++ b/sci-libs/umfpack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/umfpack
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/umfpack/ChangeLog,v 1.21 2010/12/22 18:21:44 bicatali Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/umfpack/ChangeLog,v 1.22 2011/02/23 19:58:07 bicatali Exp $
+
+*umfpack-5.5.1 (23 Feb 2011)
+
+ 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> +umfpack-5.5.1.ebuild:
+ Bump
22 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> umfpack-5.5.0.ebuild:
Added static-libs flag
diff --git a/sci-libs/umfpack/umfpack-5.5.1.ebuild b/sci-libs/umfpack/umfpack-5.5.1.ebuild
new file mode 100644
index 000000000000..3e26feaf5a16
--- /dev/null
+++ b/sci-libs/umfpack/umfpack-5.5.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/umfpack/umfpack-5.5.1.ebuild,v 1.1 2011/02/23 19:58:07 bicatali Exp $
+
+EAPI=2
+inherit autotools eutils
+
+MY_PN=UMFPACK
+
+DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/umfpack"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="doc metis static-libs"
+RDEPEND="virtual/blas
+ sci-libs/amd
+ metis? ( sci-libs/cholmod[metis] )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_prepare() {
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}"/${PN}-5.5.0-autotools.patch
+ cd "${S}"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-blas="$(pkg-config --libs blas)" \
+ $(use_enable static-libs static) \
+ $(use_with metis cholmod)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README.txt Doc/ChangeLog || die "dodoc failed"
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins Doc/*.pdf || die "doins failed"
+ fi
+}