/[gentoo-x86]/sci-libs/parmetis/parmetis-3.1.1.ebuild
Gentoo

Contents of /sci-libs/parmetis/parmetis-3.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Aug 9 21:34:59 2011 UTC (2 years, 11 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -3 lines
Update SRC_URI

(Portage version: 2.1.10.10/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/parmetis/parmetis-3.1.1.ebuild,v 1.3 2011/08/03 20:23:43 bicatali Exp $
4
5 EAPI=2
6 inherit eutils autotools
7
8 MYP=ParMetis-${PV}
9
10 DESCRIPTION="Parallel graph partitioner"
11 HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/parmetis/"
12 SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/OLD/${MYP}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
14 LICENSE="free-noncomm"
15 SLOT="0"
16 IUSE="doc static-libs"
17
18 DEPEND="virtual/mpi"
19 RDEPEND="${DEPEND}
20 !sci-libs/metis"
21
22 S="${WORKDIR}/${MYP}"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-autotools.patch
26 eautoreconf
27 export CC=mpicc
28 }
29
30 src_configure() {
31 econf $(use_enable static-libs static)
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die "emake install failed"
36 dodoc README CHANGES
37 if use doc; then
38 insinto /usr/share/doc/${PF}
39 doins Manual/*.pdf || die
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20