aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-05-11 00:53:06 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-05-11 00:53:06 +0000
commit638c06ca20b478a4f08a5c340a95df0f391e6a2b (patch)
tree041069634016adeb775f829f1cbcdcf65ebbdc0e /sci-physics
parentsci-physics/harminv: harminv: enabled shared library (diff)
downloadsci-638c06ca20b478a4f08a5c340a95df0f391e6a2b.tar.gz
sci-638c06ca20b478a4f08a5c340a95df0f391e6a2b.tar.bz2
sci-638c06ca20b478a4f08a5c340a95df0f391e6a2b.zip
sci-physics/meep: added meep
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@601 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/meep/ChangeLog9
-rw-r--r--sci-physics/meep/Manifest16
-rw-r--r--sci-physics/meep/files/digest-meep-0.103
-rw-r--r--sci-physics/meep/meep-0.10.ebuild50
-rw-r--r--sci-physics/meep/metadata.xml11
5 files changed, 89 insertions, 0 deletions
diff --git a/sci-physics/meep/ChangeLog b/sci-physics/meep/ChangeLog
new file mode 100644
index 000000000..80691027e
--- /dev/null
+++ b/sci-physics/meep/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-physics/meep
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 11 May 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> +meep-0.10.ebuild,
+ +metadata.xml:
+ Initial import of meep. Initial ebuild was submitted by Ben Schwartz
+ <bmschwar@fas.harvard.edu>. Closes bug #170989.
+
diff --git a/sci-physics/meep/Manifest b/sci-physics/meep/Manifest
new file mode 100644
index 000000000..3d4cd5ac6
--- /dev/null
+++ b/sci-physics/meep/Manifest
@@ -0,0 +1,16 @@
+DIST meep-0.10.tar.gz 882349 RMD160 6e3296f5fad63436a20e6d8d7db4d8d301882148 SHA1 54bc916e6a93f1b21c9d88f28a1f3f8efe437254 SHA256 7e9eac470220ba554e448b8aa4fe0458959e2974475ddf1541aeb2e45f8895e8
+EBUILD meep-0.10.ebuild 1180 RMD160 215f45b2de120d5e9a6a30ca48c758a9fa4fbca0 SHA1 c6a7357d52e2feb20a855cb7d2dbae06d1d7f1e7 SHA256 3482ee81aef5294e9e32880e63897eb8b03a452ad3491fbbfd44958a9c13a18b
+MD5 6547f47f11389e1580fe9fb3ab6cef22 meep-0.10.ebuild 1180
+RMD160 215f45b2de120d5e9a6a30ca48c758a9fa4fbca0 meep-0.10.ebuild 1180
+SHA256 3482ee81aef5294e9e32880e63897eb8b03a452ad3491fbbfd44958a9c13a18b meep-0.10.ebuild 1180
+MISC ChangeLog 330 RMD160 b2f42ecd6385a0bbb5a03a0ba0247ba8f0c4dab9 SHA1 14cfb32530de0c7e88d0309075202ccb60acda0b SHA256 dde6e64f667de1f10305dc6c8e3eeaadbcf12010b166eecaf56e043ad2fc423e
+MD5 a49b9c0ea6102f03a581581b720a11c8 ChangeLog 330
+RMD160 b2f42ecd6385a0bbb5a03a0ba0247ba8f0c4dab9 ChangeLog 330
+SHA256 dde6e64f667de1f10305dc6c8e3eeaadbcf12010b166eecaf56e043ad2fc423e ChangeLog 330
+MISC metadata.xml 422 RMD160 372d0d619bc61c51181e28775674c499c5e85029 SHA1 c08328ab95433f24f2bce0687702c08331a621f8 SHA256 ffafdc5b6b1b82fc3583d24b73c80a302e37ca99c5deccbbb2748a5d9a0db87c
+MD5 042cb00d9ce8aa228dcb9b494c74854b metadata.xml 422
+RMD160 372d0d619bc61c51181e28775674c499c5e85029 metadata.xml 422
+SHA256 ffafdc5b6b1b82fc3583d24b73c80a302e37ca99c5deccbbb2748a5d9a0db87c metadata.xml 422
+MD5 4024d1eee83d4b52480c7b7cd1fc7085 files/digest-meep-0.10 229
+RMD160 2466f5e6c60bd94e78bcb759f545e81ad7da57f6 files/digest-meep-0.10 229
+SHA256 b0510134478efcfc3e8f581d88f89b3b963ad82a24356d697640642c431a192e files/digest-meep-0.10 229
diff --git a/sci-physics/meep/files/digest-meep-0.10 b/sci-physics/meep/files/digest-meep-0.10
new file mode 100644
index 000000000..1870b432c
--- /dev/null
+++ b/sci-physics/meep/files/digest-meep-0.10
@@ -0,0 +1,3 @@
+MD5 09fde3d1ed3dd02116871175183751d6 meep-0.10.tar.gz 882349
+RMD160 6e3296f5fad63436a20e6d8d7db4d8d301882148 meep-0.10.tar.gz 882349
+SHA256 7e9eac470220ba554e448b8aa4fe0458959e2974475ddf1541aeb2e45f8895e8 meep-0.10.tar.gz 882349
diff --git a/sci-physics/meep/meep-0.10.ebuild b/sci-physics/meep/meep-0.10.ebuild
new file mode 100644
index 000000000..15c46228b
--- /dev/null
+++ b/sci-physics/meep/meep-0.10.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils autotools
+
+DESCRIPTION="Simulation software to model electromagnetic systems."
+HOMEPAGE="http://ab-initio.mit.edu/meep/"
+SRC_URI="http://ab-initio.mit.edu/meep/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mpi hdf5 guile doc examples"
+
+DEPEND="sci-libs/fftw
+ sci-libs/gsl
+ sci-physics/harminv
+ guile? ( >=sci-libs/libctl-3.0 )
+ hdf5? ( sci-libs/hdf5 )
+ mpi? ( virtual/mpi )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # --enable-shared gave text realloc on amd64
+ # autoreconf with latest which seems ok.
+ sed -i \
+ -e 's/SHARED(no)/SHARED(yes)/' \
+ configure.ac || die "sed failed"
+ # eautoreconf gives errors
+ autoreconf -fi || die "autoreconf failed"
+}
+
+src_compile() {
+ econf \
+ $(use_with mpi) \
+ $(use_with hdf5) \
+ $(use_with guile libctl) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR=${D} || die "emake install failed"
+ dodoc AUTHORS COPYRIGHT NEWS README TODO
+ insinto /usr/share/doc/${PF}
+ use doc && doins doc/meep.pdf
+ use examples && doins -r examples
+}
diff --git a/sci-physics/meep/metadata.xml b/sci-physics/meep/metadata.xml
new file mode 100644
index 000000000..005fbb68f
--- /dev/null
+++ b/sci-physics/meep/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-physics</herd>
+<longdescription lang="en">
+The MIT Electromagnetic Equation Propagation (MEEP) is a
+finite-difference time-domain (FDTD) simulation software package
+developed at MIT to model electromagnetic systems, along with our MPB
+eigenmode package.
+</longdescription>
+</pkgmetadata>