/[gentoo-x86]/sci-libs/ldl/ldl-2.0.3.ebuild
Gentoo

Contents of /sci-libs/ldl/ldl-2.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Mar 22 18:10:41 2011 UTC (9 years, 3 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Now install a working library, bug #359975

(Portage version: 2.1.9.43/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/ldl/ldl-2.0.3.ebuild,v 1.1 2011/02/23 20:05:08 bicatali Exp $
4
5 EAPI=2
6 inherit autotools eutils
7
8 MY_PN=LDL
9 DESCRIPTION="Simple but educational LDL^T matrix factorization algorithm"
10 HOMEPAGE="http://www.cise.ufl.edu/research/sparse/ldl"
11 SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="doc static-libs"
17 DEPEND="sci-libs/ufconfig"
18
19 S="${WORKDIR}/${MY_PN}"
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${PN}-2.0.1-autotools.patch
23 eautoreconf
24 }
25
26 src_configure() {
27 econf $(use_enable static-libs static)
28 }
29
30 src_install() {
31 emake DESTDIR="${D}" install || die "emake install failed"
32 dodoc README.txt Doc/ChangeLog || die "dodoc failed"
33 if use doc; then
34 insinto /usr/share/doc/${PF}
35 doins Doc/ldl_userguide.pdf || die
36 fi
37 }

  ViewVC Help
Powered by ViewVC 1.1.20