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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Sep 13 16:57:06 2009 UTC (11 years, 2 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removed old
(Portage version: 2.2_rc40/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/parmetis/parmetis-3.1.ebuild,v 1.1 2008/03/27 19:01:47 bicatali Exp $
4
5 inherit eutils autotools
6
7 MYP=ParMetis-${PV}
8
9 DESCRIPTION="Parallel graph partitioner"
10 HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/parmetis/"
11 SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${MYP}.tar.gz"
12
13 KEYWORDS="~amd64 ~x86"
14 LICENSE="free-noncomm"
15 SLOT="0"
16 IUSE="doc"
17
18 DEPEND="virtual/mpi"
19 RDEPEND="${DEPEND}
20 !sci-libs/metis"
21
22 S="${WORKDIR}/${MYP}"
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 epatch "${FILESDIR}"/${P}-autotools.patch
28 eautoreconf
29 export CC=mpicc
30 }
31
32 src_install() {
33 emake DESTDIR="${D}" install || die "emake install failed"
34 dodoc REAME CHANGES
35 if use doc; then
36 insinto /usr/share/doc/${PF}
37 doins Manual/*.pdf || die
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20