diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-27 04:14:47 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-27 04:14:47 +0000 |
commit | 6b6e1785d82e6b367bad5a52a2c04ad689207e41 (patch) | |
tree | fe7ac742ba52b3ebe830f8e081491ceed7fdd48f /sci-libs/superlu | |
parent | Build in the source tree. (diff) | |
download | gentoo-2-6b6e1785d82e6b367bad5a52a2c04ad689207e41.tar.gz gentoo-2-6b6e1785d82e6b367bad5a52a2c04ad689207e41.tar.bz2 gentoo-2-6b6e1785d82e6b367bad5a52a2c04ad689207e41.zip |
Version bump
(Portage version: 2.1.10.37/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/superlu')
-rw-r--r-- | sci-libs/superlu/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/superlu/superlu-4.3.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/sci-libs/superlu/ChangeLog b/sci-libs/superlu/ChangeLog index 4dff23b9ae6a..e4ea47dfec63 100644 --- a/sci-libs/superlu/ChangeLog +++ b/sci-libs/superlu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/superlu # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/ChangeLog,v 1.12 2011/09/01 16:28:32 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/ChangeLog,v 1.13 2011/11/27 04:14:47 bicatali Exp $ + +*superlu-4.3 (27 Nov 2011) + + 27 Nov 2011; Sébastien Fabbro <bicatali@gentoo.org> +superlu-4.3.ebuild: + Version bump *superlu-4.2 (01 Sep 2011) diff --git a/sci-libs/superlu/superlu-4.3.ebuild b/sci-libs/superlu/superlu-4.3.ebuild new file mode 100644 index 000000000000..c082f2a58f69 --- /dev/null +++ b/sci-libs/superlu/superlu-4.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/superlu-4.3.ebuild,v 1.1 2011/11/27 04:14:47 bicatali Exp $ + +EAPI=4 + +inherit autotools eutils fortran-2 toolchain-funcs multilib + +MY_PN=SuperLU + +DESCRIPTION="Sparse LU factorization library" +HOMEPAGE="http://crd.lbl.gov/~xiaoye/SuperLU/" +SRC_URI="${HOMEPAGE}/${PN}_${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs test" + +RDEPEND="virtual/fortran + virtual/blas" +DEPEND="${RDEPEND} + dev-util/pkgconfig + test? ( app-shells/tcsh )" + +S="${WORKDIR}/${MY_PN}_${PV}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.2-autotools.patch + sed -i -e "s/4.2/${PV}/" configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + --with-blas="$(pkg-config --libs blas)" \ + $(use_enable static-libs static) +} + +src_test() { + cd TESTING + emake -j1 \ + CC="$(tc-getCC)" \ + FORTRAN="$(tc-getFC)" \ + LOADER="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + FFLAGS="${FFLAGS}" \ + LOADOPTS="${LDFLAGS}" \ + BLASLIB="$(pkg-config --libs blas)" \ + SUPERLULIB="${S}/SRC/.libs/libsuperlu$(get_libname)" \ + LD_LIBRARY_PATH="${S}/SRC/.libs" \ + DYLD_LIBRARY_PATH="${S}/SRC/.libs" +} + +src_install() { + default + use doc && dodoc DOC/ug.pdf && dohtml DOC/html/* + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r EXAMPLE FORTRAN + fi +} |