blob: 1d9521db5fb9981fb8fd63daac2897d8b9e1b21e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmgridgen/parmgridgen-1.0.ebuild,v 1.2 2009/07/21 08:01:31 fauli Exp $
EAPI=2
inherit eutils autotools
MYP=ParMGridGen-${PV}
DESCRIPTION="Software for parallel (mpi) generating coarse grids"
HOMEPAGE="http://www-users.cs.umn.edu/~moulitsa/software.html"
SRC_URI="http://www-users.cs.umn.edu/~moulitsa/download/${MYP}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="as-is"
SLOT="0"
IUSE=""
DEPEND="virtual/mpi"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MYP}
pkg_setup(){
export CC=mpicc
}
src_prepare() {
epatch "${FILESDIR}/${P}-autotools.patch"
epatch "${FILESDIR}/${P}-as-needed.patch"
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc README Doc/*.pdf || die
}
|