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
commit32509f253f17c3d8fbfbabfdba48066c690202b7 (patch)
treec7d159c6bcdd124ea78f5414ce27bfc9e07dd41d /sci-physics
parentbump to 0.9.23, bug 209070 (diff)
downloadhistorical-32509f253f17c3d8fbfbabfdba48066c690202b7.tar.gz
historical-32509f253f17c3d8fbfbabfdba48066c690202b7.tar.bz2
historical-32509f253f17c3d8fbfbabfdba48066c690202b7.zip
Initial import. Ebuild first submitted by Ben Schwartz, see bug #170989
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/meep/ChangeLog10
-rw-r--r--sci-physics/meep/Manifest15
-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, 97 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..aa9f5e8bb021
--- /dev/null
+++ b/sci-physics/meep/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 1266 RMD160 00d26a97cf8b70eb36f4578b6c3446626d72b700 SHA1 f414887a68d16e6cd10b78c954a777d4d7e7a767 SHA256 c4053bcfe0f12b0adfc552313c11968c1f84b0ca1ebd01d972ae4b0112438d43
+MISC ChangeLog 442 RMD160 a48b76f28521d0833f7c541b285ba980730c374f SHA1 15ab78e7f7d870a0b7fa36fc721dbb13c19d9390 SHA256 07ee3195ece891e09e27af41ac0b71055bc98db04a9de418c4064961b03067aa
+MISC metadata.xml 430 RMD160 5de538a1e8b2d45195c08c18dfa649b18c2027bf SHA1 fa5340a8b76390854364680339dbd8b0672d32a1 SHA256 4cbf4812adbd8f9586e1876415c97b69b3ce860290763b8b98e758d64d454bc9
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHqcyp1ycZbhPLE2ARAumxAKCX9diIchen2A7DDOuhwhFqF3qS8ACfUSH5
+U20UoN184D+IRjr0SN66KyQ=
+=WSFB
+-----END PGP SIGNATURE-----
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>