summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-03-22 18:10:41 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-03-22 18:10:41 +0000
commit635634d389dde95fb801e8448d8d47e7aa8e768f (patch)
treeb706b15b65fa1a1a1b702cf79a73f21b67e87b32 /sci-libs/ldl/ldl-2.0.3-r1.ebuild
parentNew manual, added back pkg-config to DEPEND (diff)
downloadgentoo-2-635634d389dde95fb801e8448d8d47e7aa8e768f.tar.gz
gentoo-2-635634d389dde95fb801e8448d8d47e7aa8e768f.tar.bz2
gentoo-2-635634d389dde95fb801e8448d8d47e7aa8e768f.zip
Now install a working library, bug #359975
(Portage version: 2.1.9.43/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/ldl/ldl-2.0.3-r1.ebuild')
-rw-r--r--sci-libs/ldl/ldl-2.0.3-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-libs/ldl/ldl-2.0.3-r1.ebuild b/sci-libs/ldl/ldl-2.0.3-r1.ebuild
new file mode 100644
index 000000000000..26cd645a00ea
--- /dev/null
+++ b/sci-libs/ldl/ldl-2.0.3-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ldl/ldl-2.0.3-r1.ebuild,v 1.1 2011/03/22 18:10:40 bicatali Exp $
+
+EAPI=2
+inherit autotools eutils
+
+MY_PN=LDL
+DESCRIPTION="Simple but educational LDL^T matrix factorization algorithm"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/ldl"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc static-libs"
+DEPEND="sci-libs/ufconfig"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+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/ldl_userguide.pdf || die
+ fi
+}