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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Tue Oct 16 20:51:56 2012 UTC (7 years, 8 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
sci-libs/amd: Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the updated fortran-2.eclass

(Portage version: 2.2.0_alpha138/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

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/amd/amd-2.2.1.ebuild,v 1.7 2011/06/21 15:43:02 jlec Exp $
4
5 EAPI="3"
6
7 inherit autotools eutils fortran-2 toolchain-funcs
8
9 MY_PN=AMD
10
11 DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization"
12 HOMEPAGE="http://www.cise.ufl.edu/research/sparse/amd"
13 SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
18 IUSE="doc static-libs"
19
20 RDEPEND="
21 virtual/fortran
22 sci-libs/ufconfig"
23 DEPEND="${RDEPEND}"
24
25 S="${WORKDIR}/${MY_PN}"
26
27 src_prepare() {
28 epatch \
29 "${FILESDIR}"/${PN}-2.2.0-autotools.patch
30 eautoreconf
31 }
32
33 src_configure() {
34 econf $(use_enable static-libs static)
35 }
36
37 src_install() {
38 emake DESTDIR="${D}" install || die "emake install failed"
39 dodoc README.txt Doc/ChangeLog || die "dodoc failed"
40 if use doc; then
41 insinto /usr/share/doc/${PF}
42 doins Doc/AMD_UserGuide.pdf || die "doc install failed"
43 fi
44 }

  ViewVC Help
Powered by ViewVC 1.1.20