diff options
Diffstat (limited to 'sci-libs/spqr')
-rw-r--r-- | sci-libs/spqr/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/spqr/spqr-1.1.2.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/sci-libs/spqr/ChangeLog b/sci-libs/spqr/ChangeLog index 5d107a6dcf53..091a8a92788d 100644 --- a/sci-libs/spqr/ChangeLog +++ b/sci-libs/spqr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/spqr # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/ChangeLog,v 1.2 2009/10/23 03:48:29 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/ChangeLog,v 1.3 2009/11/21 07:58:34 bicatali Exp $ + +*spqr-1.1.2 (21 Nov 2009) + + 21 Nov 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> +spqr-1.1.2.ebuild: + Version bump 23 Oct 2009; Markus Dittrich <markusle@gentoo.org> spqr-1.1.0.ebuild, files/spqr-1.1.0-autotools.patch: diff --git a/sci-libs/spqr/spqr-1.1.2.ebuild b/sci-libs/spqr/spqr-1.1.2.ebuild new file mode 100644 index 000000000000..73aab760aaa2 --- /dev/null +++ b/sci-libs/spqr/spqr-1.1.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/spqr-1.1.2.ebuild,v 1.1 2009/11/21 07:58:34 bicatali Exp $ + +EAPI=2 +inherit eutils autotools + +MY_PN=SPQR +DESCRIPTION="Multithreaded multifrontal sparse QR factorization library" +HOMEPAGE="http://www.cise.ufl.edu/research/sparse/SPQR" +SRC_URI="http://www.cise.ufl.edu/research/sparse/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc metis tbb" +RDEPEND="sci-libs/cholmod[supernodal] + tbb? ( dev-cpp/tbb ) + metis? ( >=sci-libs/cholmod-1.7.0-r1[metis] )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_PN}" + +src_prepare() { + cd "${WORKDIR}" + epatch "${FILESDIR}"/${PN}-1.1.0-autotools.patch + epatch "${FILESDIR}"/${PN}-1.1.0-gcc43.patch + cd "${S}" + eautoreconf +} + +src_configure() { + econf \ + $(use_with metis) \ + $(use_with tbb) +} + +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 + fi +} |