summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-07-23 08:04:01 +0000
committerJustin Lecher <jlec@gentoo.org>2010-07-23 08:04:01 +0000
commit537764de5914d75354c5ba55cbaaaa37ec4824e3 (patch)
tree2b5788b6f72ca24ef9a0bf0aae6f8a6e5d021c33 /sci-chemistry/molrep
parentarm stable, bug #323729 (diff)
downloadgentoo-2-537764de5914d75354c5ba55cbaaaa37ec4824e3.tar.gz
gentoo-2-537764de5914d75354c5ba55cbaaaa37ec4824e3.tar.bz2
gentoo-2-537764de5914d75354c5ba55cbaaaa37ec4824e3.zip
Version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/molrep')
-rw-r--r--sci-chemistry/molrep/ChangeLog7
-rw-r--r--sci-chemistry/molrep/molrep-11.0.00_p3.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/sci-chemistry/molrep/ChangeLog b/sci-chemistry/molrep/ChangeLog
index 7be6892a6808..7c679f8c57a3 100644
--- a/sci-chemistry/molrep/ChangeLog
+++ b/sci-chemistry/molrep/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/molrep
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molrep/ChangeLog,v 1.8 2010/07/02 16:06:41 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molrep/ChangeLog,v 1.9 2010/07/23 08:04:01 jlec Exp $
+
+*molrep-11.0.00_p3 (23 Jul 2010)
+
+ 23 Jul 2010; Justin Lecher <jlec@gentoo.org> +molrep-11.0.00_p3.ebuild:
+ Version bump
*molrep-11.0.00_p2 (02 Jul 2010)
diff --git a/sci-chemistry/molrep/molrep-11.0.00_p3.ebuild b/sci-chemistry/molrep/molrep-11.0.00_p3.ebuild
new file mode 100644
index 000000000000..667ff49515fe
--- /dev/null
+++ b/sci-chemistry/molrep/molrep-11.0.00_p3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molrep/molrep-11.0.00_p3.ebuild,v 1.1 2010/07/23 08:04:01 jlec Exp $
+
+EAPI="3"
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="molecular replacement program"
+HOMEPAGE="http://www.ysbl.york.ac.uk/~alexei/molrep.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="ccp4"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ >=sci-libs/ccp4-libs-6.1.3
+ sci-libs/mmdb
+ virtual/lapack"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/11.0.00-respect-FLAGS.patch
+ epatch "${FILESDIR}"/11.0.00-test.patch
+}
+
+src_compile() {
+ cd "${S}"/src
+ emake clean || die
+ emake \
+ MR_FORT="$(tc-getFC) ${FFLAGS}" \
+ FFLAGS="${FFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ MR_LIBRARY="-L${EPREFIX}/usr/$(get_libdir) -lccp4f -lccp4c -lmmdb -lccif -llapack -lstdc++ -lm" \
+ || die
+}
+
+src_test() {
+ export MR_TEST="${S}/bin/"
+ cd "${S}"/molrep_check/work
+ mkdir out scr
+ cp ../*.bat .
+ bash em.bat || die
+ bash mr.bat || die
+}
+
+src_install() {
+ exeinto /usr/libexec/ccp4/bin/
+ doexe bin/${PN} || die
+ dosym ../libexec/ccp4/bin/${PN} /usr/bin/${PN}
+ dodoc readme doc/${PN}.rtf || die
+}