summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-04-19 17:49:24 +0000
committerJustin Lecher <jlec@gentoo.org>2010-04-19 17:49:24 +0000
commit3cad5eff327f2fc8558ec61e7c5863790b68f30d (patch)
treee191ef96fbaf561c65670b5b80c99beefb029b9c /sci-chemistry/mead/mead-2.2.7-r1.ebuild
parentsh stable (diff)
downloadgentoo-2-3cad5eff327f2fc8558ec61e7c5863790b68f30d.tar.gz
gentoo-2-3cad5eff327f2fc8558ec61e7c5863790b68f30d.tar.bz2
gentoo-2-3cad5eff327f2fc8558ec61e7c5863790b68f30d.zip
resepect LDFLAGS, #316059
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/mead/mead-2.2.7-r1.ebuild')
-rw-r--r--sci-chemistry/mead/mead-2.2.7-r1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/sci-chemistry/mead/mead-2.2.7-r1.ebuild b/sci-chemistry/mead/mead-2.2.7-r1.ebuild
new file mode 100644
index 000000000000..fe7e92af18ce
--- /dev/null
+++ b/sci-chemistry/mead/mead-2.2.7-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mead/mead-2.2.7-r1.ebuild,v 1.1 2010/04/19 17:49:23 jlec Exp $
+
+inherit eutils
+
+DESCRIPTION="Macroscopic Electrostatics with Atomic Detail"
+HOMEPAGE="http://www.teokem.lu.se/~ulf/Methods/mead.html"
+SRC_URI="ftp://ftp.scripps.edu/pub/bashford/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="python"
+
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ elog "Download ${SRC_URI}"
+ elog "and place it in ${DISTDIR}."
+ elog
+ elog "Use \"anonymous\" as a login, and an email address as a password."
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-respect-flags.patch
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
+src_compile() {
+ econf \
+ ${conf_opts} \
+ || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ # package hates emake DESTDIR="${D}" install
+ einstall || die "install failed"
+}