blob: 072cf29aa957aca5bffb6c17afbf226b7dcba551 (
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
39
40
41
42
43
44
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit autotools eutils
DESCRIPTION="parallel 3d FFT"
HOMEPAGE="http://www-user.tu-chemnitz.de/~mpip/software.php"
SRC_URI="http://www-user.tu-chemnitz.de/~mpip/software/${P//_}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="static-libs"
RDEPEND="=sci-libs/fftw-3.3*[mpi]
virtual/mpi"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${P//_}"
src_prepare() {
local i
for i in Makefile.am configure.ac libpfft.pc.in; do
cp "${FILESDIR}"/"${PF//_}"-"${i}" "${i}" || die "cp of ${i} failed"
done
eautoreconf || die "eautoreconf failed"
}
src_configure() {
econf --disable-la-files "$(use_enable static-libs static)" || die "econf failed"
}
src_compile() {
emake || die "emake failed"
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
}
|