diff options
author | 2008-03-17 16:21:32 +0000 | |
---|---|---|
committer | 2008-03-17 16:21:32 +0000 | |
commit | 76ffb781ed7a917f23b67454e9f950e5e3b83527 (patch) | |
tree | 94fa8e1ddc7cb9ef80b78ea7896a5845f074f95b /sci-libs/lapackpp/lapackpp-2.5.2.ebuild | |
parent | move stuff to root (diff) | |
download | sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.gz sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.bz2 sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.zip |
moved overlay to new directory
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@979 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-libs/lapackpp/lapackpp-2.5.2.ebuild')
-rw-r--r-- | sci-libs/lapackpp/lapackpp-2.5.2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-libs/lapackpp/lapackpp-2.5.2.ebuild b/sci-libs/lapackpp/lapackpp-2.5.2.ebuild new file mode 100644 index 000000000..7446b1229 --- /dev/null +++ b/sci-libs/lapackpp/lapackpp-2.5.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="C++ wrapper for LAPACK" +HOMEPAGE="http://lapackpp.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="LGPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="virtual/blas + virtual/lapack" +DEPEND="${DEPEND} + dev-util/pkgconfig + doc? ( app-doc/doxygen )" + +src_compile() { + econf \ + --disable-atlas \ + --with-blas="$(pkg-config --libs blas)" \ + --with-lapack="$(pkg-config --libs lapack)" \ + || die "econf failed" + emake || die "emake failed" + if use doc; then + emake srcdoc || die "emake srcdoc failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc NEWS README ChangeLog AUTHORS || die "dodoc failed" + if use doc; then + dohtml api-doc/html || die "dohtml failed" + fi +} |