summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-02-06 15:05:06 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-02-06 15:05:06 +0000
commit559baa9fd241b2f053da0235a31284cb9b8a809a (patch)
tree70f0b1ba91937511a604347cae4b65641707d439 /sci-physics
parentbump to 0.9.23, bug 209070 (diff)
downloadgentoo-2-559baa9fd241b2f053da0235a31284cb9b8a809a.tar.gz
gentoo-2-559baa9fd241b2f053da0235a31284cb9b8a809a.tar.bz2
gentoo-2-559baa9fd241b2f053da0235a31284cb9b8a809a.zip
Initial import. Ebuild first submitted by Ben Schwartz, see bug #170989
(Portage version: 2.1.4.1)
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/meep/ChangeLog10
-rw-r--r--sci-physics/meep/Manifest5
-rw-r--r--sci-physics/meep/files/meep-0.10.1-configure.ac.patch11
-rw-r--r--sci-physics/meep/meep-0.10.1.ebuild50
-rw-r--r--sci-physics/meep/metadata.xml11
5 files changed, 87 insertions, 0 deletions
diff --git a/sci-physics/meep/ChangeLog b/sci-physics/meep/ChangeLog
new file mode 100644
index 000000000000..cbcf27edc130
--- /dev/null
+++ b/sci-physics/meep/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-physics/meep
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/ChangeLog,v 1.1 2008/02/06 15:05:05 bicatali Exp $
+
+*meep-0.10.1 (06 Feb 2008)
+
+ 06 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/meep-0.10.1-configure.ac.patch, +metadata.xml, +meep-0.10.1.ebuild:
+ Initial import. Ebuild first submitted by Ben Schwartz, see bug #170989
+
diff --git a/sci-physics/meep/Manifest b/sci-physics/meep/Manifest
new file mode 100644
index 000000000000..9beaaf2cdef9
--- /dev/null
+++ b/sci-physics/meep/Manifest
@@ -0,0 +1,5 @@
+AUX meep-0.10.1-configure.ac.patch 383 RMD160 71c9e7bac1b7848cb9554e842c7a740a7c0e59d5 SHA1 ce5c9f8cf36f0798b5ccd8a2696913b269963d9d SHA256 ef296514f6b193ea0e4e30fc439ef5e008d6059c9b321cf8ea13920cfd3633d1
+DIST meep-0.10.1.tar.gz 693025 RMD160 6888b42666f536fedbdc21a8f12f0759a24b6c05 SHA1 7770a2edb6e6bc3759f2e2243009d8ebdc5efd32 SHA256 cc064aa84ba83516ab186debdb85e0ef01a5edfa8d51aa6d0f476d22f86aa974
+EBUILD meep-0.10.1.ebuild 1167 RMD160 e4c200ce4b833c1077f0c6639b858e4589606967 SHA1 e6e1fb37a9137c5551059d1844bded2383f3cd3c SHA256 c145fe1ef3f11d45b00d83f016da58d0d484d5a741ed73778a0d5254e98e3f62
+MISC ChangeLog 352 RMD160 4316c1f3520fb0ba6775c63e4ea9c0162e7a9944 SHA1 f3571e99f1a8252907b1a80f72eef1f87bf477dc SHA256 cdc815ea0c5bd899d853aa93a8265b38d9b9172a63c39aee247a57c972bfcc71
+MISC metadata.xml 430 RMD160 5de538a1e8b2d45195c08c18dfa649b18c2027bf SHA1 fa5340a8b76390854364680339dbd8b0672d32a1 SHA256 4cbf4812adbd8f9586e1876415c97b69b3ce860290763b8b98e758d64d454bc9
diff --git a/sci-physics/meep/files/meep-0.10.1-configure.ac.patch b/sci-physics/meep/files/meep-0.10.1-configure.ac.patch
new file mode 100644
index 000000000000..2097b209309c
--- /dev/null
+++ b/sci-physics/meep/files/meep-0.10.1-configure.ac.patch
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2007-09-27 09:44:17.206142973 +0100
++++ configure.ac 2007-09-27 09:45:17.825597479 +0100
+@@ -11,7 +11,7 @@
+ AM_CONFIG_HEADER(config.h)
+ AM_MAINTAINER_MODE
+ AC_SUBST(SHARED_VERSION_INFO)
+-AM_ENABLE_SHARED(no) dnl shared libs cause too many headaches to be default
++#AM_ENABLE_SHARED(no) dnl shared libs cause too many headaches to be default
+
+ MEEP_SUFFIX=""
+
diff --git a/sci-physics/meep/meep-0.10.1.ebuild b/sci-physics/meep/meep-0.10.1.ebuild
new file mode 100644
index 000000000000..5679224cc47f
--- /dev/null
+++ b/sci-physics/meep/meep-0.10.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/meep/meep-0.10.1.ebuild,v 1.1 2008/02/06 15:05:05 bicatali Exp $
+
+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="bindist doc examples hdf5 guile mpi"
+
+DEPEND="sci-libs/fftw
+ !bindist? ( sci-libs/gsl )
+ bindist? ( <sci-libs/gsl-1.10 )
+ sci-physics/harminv
+ guile? ( >=sci-libs/libctl-3.0 )
+ hdf5? ( sci-libs/hdf5 )
+ mpi? ( virtual/mpi )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-configure.ac.patch
+ AT_M4DIR="m4" eautoreconf
+}
+
+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 NEWS README TODO || die "dodoc failed"
+ insinto /usr/share/doc/${PF}
+ if use doc; then
+ doins doc/meep.pdf || die "install doc failed"
+ fi
+ if use examples; then
+ doins -r examples || die "install examples failed"
+ fi
+}
diff --git a/sci-physics/meep/metadata.xml b/sci-physics/meep/metadata.xml
new file mode 100644
index 000000000000..b1867dddf8f3
--- /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 the MPB
+ eigenmode package.
+</longdescription>
+</pkgmetadata>