diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-07-23 08:04:01 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-07-23 08:04:01 +0000 |
commit | 537764de5914d75354c5ba55cbaaaa37ec4824e3 (patch) | |
tree | 2b5788b6f72ca24ef9a0bf0aae6f8a6e5d021c33 /sci-chemistry/molrep/molrep-11.0.00_p3.ebuild | |
parent | arm stable, bug #323729 (diff) | |
download | gentoo-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/molrep-11.0.00_p3.ebuild')
-rw-r--r-- | sci-chemistry/molrep/molrep-11.0.00_p3.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
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 +} |