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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jan 26 10:33:47 2015 UTC (5 weeks ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Stable for x86, wrt bug #534646

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

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/parmetis/parmetis-3.2.0.ebuild,v 1.5 2015/01/09 13:41:04 ago Exp $
4
5 EAPI=5
6
7 inherit eutils autotools
8
9 MYP=ParMetis-${PV}
10
11 DESCRIPTION="Parallel graph partitioner"
12 HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/parmetis/"
13 SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/OLD/${MYP}.tar.gz"
14
15 SLOT="0"
16 LICENSE="free-noncomm"
17 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
18 IUSE="doc static-libs"
19
20 DEPEND="virtual/mpi"
21 RDEPEND="${DEPEND}
22 !sci-libs/metis"
23
24 S="${WORKDIR}/${MYP}"
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${PN}-3.1.1-autotools.patch
28 sed -i -e "s/3.1.1/${PV}/" configure.ac || die
29 sed -i -e 's/order.c//' -e 's/lmatch.c//' ParMETISLib/Makefile.am || die
30 eautoreconf
31 export CC=mpicc
32 }
33
34 src_configure() {
35 econf $(use_enable static-libs static)
36 }
37
38 src_install() {
39 default
40 use doc && dodoc Manual/*.pdf
41 }

  ViewVC Help
Powered by ViewVC 1.1.20