summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-26 08:29:56 +0100
committerJustin Lecher <jlec@gentoo.org>2015-10-26 08:32:25 +0100
commit7d62034735e700ca67e977470d79f5571b15b221 (patch)
tree78d45bafd1284caf0c06b4b98131677301303cbb /sci-chemistry/refmac/refmac-5.5.0110-r3.ebuild
parentadd co-maintainer Coacher to metadata (diff)
downloadgentoo-7d62034735e700ca67e977470d79f5571b15b221.tar.gz
gentoo-7d62034735e700ca67e977470d79f5571b15b221.tar.bz2
gentoo-7d62034735e700ca67e977470d79f5571b15b221.zip
Drop "CCP4: Software for Macromolecular Crystallography"
obsoletes: Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=160190 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=324059 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=332485 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=367771 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=367773 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=383227 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=448756 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=460502 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=460504 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=466936 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=467040 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=467048 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=476580 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=478580 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=478586 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=478588 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=478594 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=478604 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=521646 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=528512 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=530878 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=540760 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=555614 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=556498 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=557038 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=561196 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562780 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-chemistry/refmac/refmac-5.5.0110-r3.ebuild')
-rw-r--r--sci-chemistry/refmac/refmac-5.5.0110-r3.ebuild85
1 files changed, 0 insertions, 85 deletions
diff --git a/sci-chemistry/refmac/refmac-5.5.0110-r3.ebuild b/sci-chemistry/refmac/refmac-5.5.0110-r3.ebuild
deleted file mode 100644
index eb8e87018219..000000000000
--- a/sci-chemistry/refmac/refmac-5.5.0110-r3.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils fortran-2 flag-o-matic toolchain-funcs versionator
-
-DESCRIPTION="Macromolecular crystallographic refinement program"
-HOMEPAGE="http://www.ysbl.york.ac.uk/~garib/refmac"
-SRC_URI="
- ${HOMEPAGE}/data/refmac_stable/refmac_${PV}.tar.gz
- test? ( http://dev.gentooexperimental.org/~jlec/distfiles/test-framework.tar.gz )"
-
-SLOT="0"
-LICENSE="ccp4"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-
-RDEPEND="
- sci-chemistry/makecif
- >=sci-libs/ccp4-libs-6.1.3-r7
- sci-libs/mmdb
- <sci-libs/monomer-db-1
- virtual/blas
- virtual/lapack"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-FORTRAN_STANDARD="77 90"
-
-S="${WORKDIR}"
-
-PATCHES=(
- "${FILESDIR}"/${PV}-allow-dynamic-linking.patch
- "${FILESDIR}"/${PV}-gcc4.6.patch
- )
-
-src_prepare() {
- epatch ${PATCHES[@]}
-
- use test && epatch "${FILESDIR}"/$(get_version_component_range 1-2 ${PV})-test.log.patch
- [[ ${FC} == *gfortran* ]] && \
- append-fflags -fno-second-underscore && \
- append-cflags -DGFORTRAN -DPROTOTYPE && \
- append-libs -lgfortran -lgfortranbegin -lstdc++
- [[ ${FC} == *ifort* ]] && \
- append-libs -lstdc++
-}
-
-src_compile() {
- emake \
- FC=$(tc-getFC) \
- CC=$(tc-getCC) \
- CXX=$(tc-getCXX) \
- COPTIM="${CFLAGS}" \
- FOPTIM="${FFLAGS:- -O2}" \
- VERSION="" \
- XFFLAGS="" \
- XCFLAGS="" \
- LLIBCCP="-lccp4f -lccp4c -lccif $($(tc-getPKG_CONFIG) --libs mmdb)" \
- LLIBLAPACK="$($(tc-getPKG_CONFIG) --libs lapack blas)" \
- LLIBOTHERS="${LIBS}" \
- ${PN} libcheck
-}
-
-src_test() {
- einfo "Starting tests ..."
- source "${EPREFIX}/etc/profile.d/40ccp4.setup.sh"
- 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() {
- exeinto /usr/libexec/ccp4/bin/
- doexe ${PN}
- dosym refmac /usr/libexec/ccp4/bin/refmac5
- dosym ../libexec/ccp4/bin/${PN} /usr/bin/${PN}
- dosym refmac /usr/bin/refmac5
- dodoc refmac_keywords.pdf bugs_and_features.pdf
-}