/[gentoo-x86]/sci-libs/amd/amd-2.2.0.ebuild
Gentoo

Contents of /sci-libs/amd/amd-2.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.25 - (show annotations) (download)
Sun Jun 21 11:42:43 2015 UTC (5 years, 4 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +1 -1 lines
FILE REMOVED
Clean old; obsoletes bug #261568

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/amd/amd-2.2.0.ebuild,v 1.24 2015/02/22 00:53:19 mattst88 Exp $
4
5 inherit autotools eutils fortran-2 toolchain-funcs
6
7 MY_PN=AMD
8
9 DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization"
10 HOMEPAGE="http://www.cise.ufl.edu/research/sparse/amd"
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 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
16 IUSE="doc"
17
18 DEPEND="sci-libs/ufconfig"
19 RDEPEND="${DEPEND}"
20
21 S="${WORKDIR}/${MY_PN}"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch \
27 "${FILESDIR}"/${P}-autotools.patch
28 eautoreconf
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" install || die "emake install failed"
33 dodoc README.txt Doc/ChangeLog || die "dodoc failed"
34 if use doc; then
35 insinto /usr/share/doc/${PF}
36 doins Doc/AMD_UserGuide.pdf || die "doc install failed"
37 fi
38 }

  ViewVC Help
Powered by ViewVC 1.1.20