/[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.3 - (show annotations) (download)
Fri Aug 3 22:20:54 2012 UTC (2 years, 4 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
keyword amd64-linux x86-linux

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.2 2011/08/09 21:34:59 bicatali Exp $
4
5 EAPI=4
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 ~amd64-linux ~x86-linux"
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}"/${PN}-3.1.1-autotools.patch
26 sed -i -e "s/3.1.1/${PV}/" configure.ac || die
27 sed -i -e 's/order.c//' -e 's/lmatch.c//' ParMETISLib/Makefile.am || die
28 eautoreconf
29 export CC=mpicc
30 }
31
32 src_configure() {
33 econf $(use_enable static-libs static)
34 }
35
36 src_install() {
37 default
38 use doc && dodoc Manual/*.pdf
39 }

  ViewVC Help
Powered by ViewVC 1.1.20