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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Mar 9 10:40:40 2009 UTC (11 years, 4 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Removed a non robust test, bug #261568
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2008 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.0.4.ebuild,v 1.3 2008/06/29 08:13:40 tove Exp $
4
5 inherit autotools eutils fortran
6
7 MY_PN=AMD
8 DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization"
9 HOMEPAGE="http://www.cise.ufl.edu/research/sparse/amd"
10 SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
11
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="doc"
16 DEPEND="sci-libs/ufconfig"
17
18 S="${WORKDIR}/${MY_PN}"
19
20 FORTRAN="gfortran g77 ifc"
21
22 src_unpack() {
23 fortran_src_unpack
24 cd "${WORKDIR}"
25 epatch "${FILESDIR}"/${P}-autotools.patch
26 cd "${S}"
27 rm -f Makefile */*akefile
28 eautoreconf
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" install || die "emake install failed"
33 dodoc README.txt Doc/ChangeLog
34 if use doc; then
35 insinto /usr/share/doc/${PF}
36 doins Doc/AMD_UserGuide.pdf
37 fi
38 }

  ViewVC Help
Powered by ViewVC 1.1.20