diff options
author | Peter Bienstman <pbienst@gentoo.org> | 2006-01-04 18:51:03 +0000 |
---|---|---|
committer | Peter Bienstman <pbienst@gentoo.org> | 2006-01-04 18:51:03 +0000 |
commit | ff018bd4997cccbe9405ab30e25bf5d7b7cb3149 (patch) | |
tree | 8a995c91861ee4153fa1ff511f951d75c0061aa2 /sci-misc | |
parent | stable on amd64 wrt bug 116181 (diff) | |
download | historical-ff018bd4997cccbe9405ab30e25bf5d7b7cb3149.tar.gz historical-ff018bd4997cccbe9405ab30e25bf5d7b7cb3149.tar.bz2 historical-ff018bd4997cccbe9405ab30e25bf5d7b7cb3149.zip |
New ebuild.
Package-Manager: portage-2.0.53
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/mpb/ChangeLog | 9 | ||||
-rw-r--r-- | sci-misc/mpb/Manifest | 4 | ||||
-rw-r--r-- | sci-misc/mpb/files/digest-mpb-1.4.2 | 1 | ||||
-rw-r--r-- | sci-misc/mpb/metadata.xml | 6 | ||||
-rw-r--r-- | sci-misc/mpb/mpb-1.4.2.ebuild | 68 |
5 files changed, 88 insertions, 0 deletions
diff --git a/sci-misc/mpb/ChangeLog b/sci-misc/mpb/ChangeLog new file mode 100644 index 000000000000..71cdf0fe2210 --- /dev/null +++ b/sci-misc/mpb/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-misc/mpb +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/mpb/ChangeLog,v 1.1 2006/01/04 18:51:03 pbienst Exp $ + +*mpb-1.4.2 (04 Jan 2006) + + 04 Jan 2006; Peter Bienstman <pbienst@gentoo.org> +mpb-1.4.2.ebuild: + New ebuild (closes #36581). + diff --git a/sci-misc/mpb/Manifest b/sci-misc/mpb/Manifest new file mode 100644 index 000000000000..84d3cfc6c15f --- /dev/null +++ b/sci-misc/mpb/Manifest @@ -0,0 +1,4 @@ +MD5 fb3b501f1ab8f7069200dff043c9f886 ChangeLog 326 +MD5 2e7f5ed5cdc4b9b1f359611041c5d30a files/digest-mpb-1.4.2 61 +MD5 19d4f5e8734023708b8b8081270e9d4e metadata.xml 157 +MD5 219910bca80eb39ba8968b424b924053 mpb-1.4.2.ebuild 1676 diff --git a/sci-misc/mpb/files/digest-mpb-1.4.2 b/sci-misc/mpb/files/digest-mpb-1.4.2 new file mode 100644 index 000000000000..b4fef82d9dd1 --- /dev/null +++ b/sci-misc/mpb/files/digest-mpb-1.4.2 @@ -0,0 +1 @@ +MD5 e1e618b0db343a7a3fc38eabd69d008b mpb-1.4.2.tar.gz 686488 diff --git a/sci-misc/mpb/metadata.xml b/sci-misc/mpb/metadata.xml new file mode 100644 index 000000000000..f3c63d4e560a --- /dev/null +++ b/sci-misc/mpb/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> + diff --git a/sci-misc/mpb/mpb-1.4.2.ebuild b/sci-misc/mpb/mpb-1.4.2.ebuild new file mode 100644 index 000000000000..10a8ff5f43d7 --- /dev/null +++ b/sci-misc/mpb/mpb-1.4.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/mpb/mpb-1.4.2.ebuild,v 1.1 2006/01/04 18:51:03 pbienst Exp $ + +DESCRIPTION="Program for computing the band structures and electromagnetic modes of periodic dielectric structures" +SRC_URI="http://ab-initio.mit.edu/mpb/${P}.tar.gz" +HOMEPAGE="http://ab-initio.mit.edu/mpb/" + +LICENSE="GPL-2" +KEYWORDS="~x86" + +SLOT="0" + +DEPEND="virtual/lapack + sci-libs/libctl + sci-libs/hdf5 + =sci-libs/fftw-2.1.5-r1 + sys-libs/readline" +RDEPEND="=sci-libs/fftw-2.1.5-r1" + +src_unpack() { + unpack ${A} + + # Create directories to compile the versions with inversion symmetry + # and with hermitian eps. + + cp -r ${S} ${S}_inv + cp -r ${S} ${S}_herm +} + +src_compile() { + # Create the normal version (mpb). + cd ${S} + econf || die + MAKEOPTS="-j1" emake || die # Parallel 'make' gives syntax errors. + + # Create the version with inversion symmetry (mpbi). + cd ${S}_inv + econf --with-inv-symmetry || die + MAKEOPTS="-j1" emake || die + + # Create the version with hermitian eps (mpbh). + cd ${S}_herm + econf --with-hermitian-eps || die + MAKEOPTS="-j1" emake || die +} + +src_install() { + + cd ${S} + einstall || die + + dodoc README COPYING NEWS AUTHORS COPYRIGHT ChangeLog TODO + dohtml doc/* + + # Install mpbi and mpbh as well. + + mv ${S}_inv/mpb-ctl/.mpb ${S}_inv/mpb-ctl/mpbi + dobin ${S}_inv/mpb-ctl/mpbi + + mv ${S}_herm/mpb-ctl/.mpb ${S}_herm/mpb-ctl/mpbh + dobin ${S}_herm/mpb-ctl/mpbh + + einfo "Three versions of mpb have been installed:" + einfo "mpb : regular version" + einfo "mpbi : configured for inversion symmetry" + einfo "mpbh : configured for hermitian epsilon" +} |