/[gentoo-x86]/sci-physics/meep/meep-1.1.1.ebuild
Gentoo

Contents of /sci-physics/meep/meep-1.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jan 21 17:24:33 2010 UTC (4 years, 2 months ago) by fauli
Branch: MAIN
Changes since 1.1: +3 -3 lines
stable x86, bug 294447
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/meep-1.1.1.ebuild,v 1.1 2009/09/09 22:17:47 bicatali Exp $
4
5 EAPI=2
6 inherit eutils
7
8 DESCRIPTION="Simulation software to model electromagnetic systems"
9 HOMEPAGE="http://ab-initio.mit.edu/meep/"
10 SRC_URI="http://ab-initio.mit.edu/meep/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 x86"
15 IUSE="bindist examples hdf5 guile mpi"
16
17 DEPEND="sci-libs/fftw
18 !bindist? ( sci-libs/gsl )
19 bindist? ( <sci-libs/gsl-1.10 )
20 sci-physics/harminv
21 guile? ( >=sci-libs/libctl-3.0.3 )
22 hdf5? ( sci-libs/hdf5 )
23 mpi? ( virtual/mpi )"
24 RDEPEND="${DEPEND}"
25
26 src_configure() {
27 econf \
28 --enable-shared \
29 $(use_with mpi) \
30 $(use_with hdf5) \
31 $(use_with guile libctl)
32 }
33
34 src_install() {
35 emake install DESTDIR="${D}" || die "emake install failed"
36 dodoc AUTHORS NEWS README TODO
37 insinto /usr/share/doc/${PF}
38 if use examples; then
39 doins -r examples || die "install examples failed"
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20