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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jun 24 22:56:41 2013 UTC (7 years ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Switch to EAPI5 and new tar ball

(Portage version: 2.2.01.22013-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

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-r1.ebuild,v 1.1 2011/03/22 18:10:40 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}"/${P}-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