You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/parmgridgen/parmgridgen-1.0.ebuild

39 lines
870 B

# Copyright 1999-2014 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.3 2014/04/16 22:12:03 ulm 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"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="mirror bindist"
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
}