summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-03-09 14:23:30 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-03-09 14:23:30 +0000
commite0b0b21814fa152b66bc58fc80b6dea975ee3917 (patch)
treee4c8146d36350d9aad7a73d52b21be197444978d /sci-libs/cholmod
parentAdd ~x86 wrt #260775 (diff)
downloadhistorical-e0b0b21814fa152b66bc58fc80b6dea975ee3917.tar.gz
historical-e0b0b21814fa152b66bc58fc80b6dea975ee3917.tar.bz2
historical-e0b0b21814fa152b66bc58fc80b6dea975ee3917.zip
Version bump
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/cholmod')
-rw-r--r--sci-libs/cholmod/ChangeLog8
-rw-r--r--sci-libs/cholmod/Manifest15
-rw-r--r--sci-libs/cholmod/cholmod-1.7.0.ebuild93
3 files changed, 114 insertions, 2 deletions
diff --git a/sci-libs/cholmod/ChangeLog b/sci-libs/cholmod/ChangeLog
index 6bddbae61e18..df6a126f9690 100644
--- a/sci-libs/cholmod/ChangeLog
+++ b/sci-libs/cholmod/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/cholmod
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/ChangeLog,v 1.12 2009/02/08 15:36:49 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/ChangeLog,v 1.13 2009/03/09 14:23:30 bicatali Exp $
+
+*cholmod-1.7.0 (09 Mar 2009)
+
+ 09 Mar 2009; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +cholmod-1.7.0.ebuild:
+ Version bump
08 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
cholmod-1.6.0-r1.ebuild:
diff --git a/sci-libs/cholmod/Manifest b/sci-libs/cholmod/Manifest
index 19fed00e9f99..3c4043057dba 100644
--- a/sci-libs/cholmod/Manifest
+++ b/sci-libs/cholmod/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST CHOLMOD-1.6.0.tar.gz 1092883 RMD160 0c0b8b6f9e9bab2d95791c4ca12d0d8cc692c0e5 SHA1 be19fa1ac19d190e9f3aa1aee7ba88a7ce0111db SHA256 6e13d49c5452cd99e5eb828d50a55dc56d399751fe5dee82b0a5a3dbefd24e0e
+DIST CHOLMOD-1.7.0.tar.gz 1105036 RMD160 b8e50d8343d5bb5ee0d1e2a3e22f52a07153495a SHA1 f80429ddf07420f5aa42d37f7cbf671ce6e66a6f SHA256 f27da44fca13a7e09026807281bfd2945188e95efe99ed1170212a7deec0c7d7
DIST cholmod-1.6.0-autotools.patch.bz2 5388 RMD160 4c835c95f8d64a2032b37ee136e4d4faf70586e8 SHA1 4593f97658fc841e939bc697125748d4106f6d93 SHA256 141762b6657924f52a557d8d79ea672dcc16a3f08022ac6b4f2ff3f5c895798e
+DIST cholmod-1.7.0-autotools.patch.bz2 5553 RMD160 a5edd9454112ba96e252e1cc09bde56184b2b617 SHA1 71c5a675791efb46fde6d30084571e729966919c SHA256 7bd644e458b863e86fa70188cd2a7b88f01a6b49056b21f1b29e83093641e1f9
EBUILD cholmod-1.6.0-r1.ebuild 2695 RMD160 8f787d670d8b0be82688d906ec6dad707de1827d SHA1 18e211bb09136d8cd2939d26cb3c457bd049fc21 SHA256 c49087ff2c51a4b331935154e755c6e40761cd194ddc5da8778a703cb86e8763
-MISC ChangeLog 2060 RMD160 ff28b3d7cf0fdf806a6905db61d29de45da8adc1 SHA1 9d541e1702d8e1efd90cdcbb411ff5f28dab4b02 SHA256 c5a9765f6f0c5bc1ea6bad79011c0f6b52b8a5dbebfb401a2462330fb217b53e
+EBUILD cholmod-1.7.0.ebuild 2651 RMD160 a2904cc45f26f8504cc76867f53585b6dfbc83da SHA1 a41d40957db4c0f08f6dee356cde41fa630d05b3 SHA256 4c6cf5025d8d46831f43c6c59c4843a499cae011fbcf13614ce1c96845fecf0e
+MISC ChangeLog 2186 RMD160 156cff0db16f7420193a725268fb4beb4b65389a SHA1 63550c0feba18e404363ead6e3487e897bbc737c SHA256 88e38c904c97de2ca93770dab50f2287e7652a4514cacc4b148b5d51bdefc008
MISC metadata.xml 552 RMD160 234d8a3ae181d8fa6e2cd5c9b64050c4d8ff4c92 SHA1 e79c60df8b050a50660e5e3a1f971ab6f10af4cf SHA256 d3f2b40d7d8a85e9f9d0de4c6fb9faad10ce6b6c02784470c1acba6d0f50b73d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.10 (GNU/Linux)
+
+iEYEARECAAYFAkm1JmsACgkQ1ycZbhPLE2C/UgCdErEv3TOaBXcPpVnt4knIQJwd
+aMcAn2UcSIpAepQ7Se3MgqSGorKFllEn
+=BCHQ
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/cholmod/cholmod-1.7.0.ebuild b/sci-libs/cholmod/cholmod-1.7.0.ebuild
new file mode 100644
index 000000000000..49cac6a1e132
--- /dev/null
+++ b/sci-libs/cholmod/cholmod-1.7.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/cholmod-1.7.0.ebuild,v 1.1 2009/03/09 14:23:30 bicatali Exp $
+
+EAPI=2
+inherit eutils autotools
+
+MY_PN=CHOLMOD
+
+DESCRIPTION="Sparse Cholesky factorization and update/downdate library"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/cholmod"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz
+ mirror://gentoo/${P}-autotools.patch.bz2"
+
+LICENSE="LGPL-2.1 GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc metis minimal supernodal"
+
+RDEPEND="supernodal? ( virtual/lapack )
+ sci-libs/amd
+ sci-libs/colamd
+ metis? ( sci-libs/camd
+ sci-libs/ccolamd
+ || ( sci-libs/metis sci-libs/parmetis ) )"
+
+DEPEND="${RDEPEND}
+ supernodal? ( dev-util/pkgconfig )
+ metis? ( dev-util/pkgconfig )"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_prepare() {
+ cd "${WORKDIR}"
+ epatch "${WORKDIR}"/${P}-autotools.patch
+ cd "${S}"
+ # We need to take care of cholmod.h here as well depending on
+ # the USE flags, otherwise the installed file will reference
+ # headers that we may not have included.
+ if use minimal; then
+ sed -i '/^#define CHOLMOD_/{N;
+ s:\(#define\) \(CHOLMOD_CONFIG_H\)\n:\1 \2\n\1 NMODIFY 1\n\1 NMATRIXOPS 1\n:}' \
+ Include/cholmod_config.h
+ fi
+
+ if ! use supernodal; then
+ sed -i '/^#define CHOLMOD_/{N;
+ s:\(#define\) \(CHOLMOD_CONFIG_H\)\n:\1 \2\n\1 NSUPERNODAL 1\n:}' \
+ Include/cholmod_config.h
+ fi
+
+ if ! use metis; then
+ sed -i '/^#define CHOLMOD_/{N;
+ s:\(#define\) \(CHOLMOD_CONFIG_H\)\n:\1 \2\n\1 NPARTITION 1\n:}' \
+ Include/cholmod_config.h
+ fi
+ eautoreconf
+}
+
+src_configure() {
+ local lapack_libs=no
+ local blas_libs=no
+ if use supernodal; then
+ blas_libs=$(pkg-config --libs blas)
+ lapack_libs=$(pkg-config --libs lapack)
+ fi
+ econf \
+ --with-blas="${blas_libs}" \
+ --with-lapack="${lapack_libs}" \
+ $(use_enable supernodal mod-supernodal) \
+ $(use_enable !minimal mod-modify) \
+ $(use_enable !minimal mod-matrixops) \
+ $(use_enable metis mod-partition)
+}
+
+src_test() {
+ if ! use supernodal || ! use metis || use minimal; then
+ ewarn "According to your useflags, some modules were not built on"
+ ewarn "purpose. This can cause the tests included with Cholmod"
+ ewarn "to fail. Rebuild with USE=\"supernodal metis -minimal\""
+ ewarn "if you care."
+ fi
+ cd "${S}"/Demo
+ emake test || die "emake test failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README.txt Doc/ChangeLog || die "dodoc failed"
+ if use doc; then
+ dodoc Doc/UserGuide.pdf || die "pdf install failed"
+ fi
+}