diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-05-18 16:17:56 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-05-18 16:17:56 +0000 |
commit | f63783c2e784651dacb2cad4fff49565b205dd65 (patch) | |
tree | 3421c04b2ed72a8888a34cdf5e8437259864cf04 /sci-chemistry | |
parent | Old. (diff) | |
download | gentoo-2-f63783c2e784651dacb2cad4fff49565b205dd65.tar.gz gentoo-2-f63783c2e784651dacb2cad4fff49565b205dd65.tar.bz2 gentoo-2-f63783c2e784651dacb2cad4fff49565b205dd65.zip |
Version Bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/refmac/ChangeLog | 7 | ||||
-rw-r--r-- | sci-chemistry/refmac/refmac-5.6.0076.ebuild | 70 |
2 files changed, 76 insertions, 1 deletions
diff --git a/sci-chemistry/refmac/ChangeLog b/sci-chemistry/refmac/ChangeLog index d6716faaab6d..5c76829dac0f 100644 --- a/sci-chemistry/refmac/ChangeLog +++ b/sci-chemistry/refmac/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-chemistry/refmac # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v 1.6 2010/05/16 12:56:16 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v 1.7 2010/05/18 16:17:56 jlec Exp $ + +*refmac-5.6.0076 (18 May 2010) + + 18 May 2010; Justin Lecher <jlec@gentoo.org> +refmac-5.6.0076.ebuild: + Version Bump *refmac-5.6.0075 (16 May 2010) diff --git a/sci-chemistry/refmac/refmac-5.6.0076.ebuild b/sci-chemistry/refmac/refmac-5.6.0076.ebuild new file mode 100644 index 000000000000..64299d5cc3f6 --- /dev/null +++ b/sci-chemistry/refmac/refmac-5.6.0076.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/refmac-5.6.0076.ebuild,v 1.1 2010/05/18 16:17:56 jlec Exp $ + +EAPI="2" + +inherit fortran base toolchain-funcs versionator + +MY_PV="$(get_version_component_range 1-2)_source_v${PV}" + +DESCRIPTION="Macromolecular crystallographic refinement program" +HOMEPAGE="http://www.ysbl.york.ac.uk/~garib/refmac/" +SRC_URI="${HOMEPAGE}data/refmac_experimental/${PN}${MY_PV}.tar.gz + test? ( http://dev.gentooexperimental.org/~jlec/distfiles/test-framework.tar.gz )" + +SLOT="0" +LICENSE="ccp4" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + sci-libs/ccp4-libs + sci-libs/mmdb + virtual/blas + virtual/lapack" +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +PATCHES=( + "${FILESDIR}"/5.6.0075-allow-dynamic-linking.patch + ) + +src_prepare() { + base_src_prepare + use test && epatch "${FILESDIR}"/5.5-test.log.patch +} + +src_compile() { + emake \ + FC=$(tc-getFC) \ + CC=$(tc-getCC) \ + CXX=$(tc-getCXX) \ + COPTIM="${CFLAGS}" \ + FOPTIM="${FFLAGS:- -O2}" \ + VERSION="" \ + XFFLAGS="-fno-second-underscore" \ + LLIBCCP="-lccp4f -lccp4c -lccif -lmmdb -lstdc++" \ + LLIBLAPACK="$(pkg-config --libs lapack blas)" \ + || die +} + +src_test() { + einfo "Starting tests ..." + export PATH="${WORKDIR}/test-framework/scripts:${S}:${PATH}" + export CCP4_TEST="${WORKDIR}"/test-framework + export CCP4_SCR="${T}" + ln -sf refmac "${S}"/refmac5 + sed '/^ANISOU/d' -i ${CCP4_TEST}/data/pdb/1vr7.pdb + ccp4-run-thorough-tests -v test_refmac5 || die +} + +src_install() { + for i in refmac libcheck; do + exeinto /usr/libexec/ccp4/bin/ + doexe ${i} || die + dosym ../libexec/ccp4/bin/${i} /usr/bin/${i} + done + dosym refmac /usr/bin/refmac5 || die +} |