/[gentoo-x86]/sci-chemistry/sfcheck/sfcheck-7.03.18-r1.ebuild
Gentoo

Contents of /sci-chemistry/sfcheck/sfcheck-7.03.18-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Oct 19 10:28:14 2012 UTC (6 years, 11 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +9 -15 lines
sci-chemistry/sfcheck: Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the updated fortran-2.eclass

(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/sfcheck/sfcheck-7.03.18-r1.ebuild,v 1.6 2011/06/21 15:57:05 jlec Exp $
4
5 EAPI=4
6
7 inherit eutils fortran-2 toolchain-funcs
8
9 DESCRIPTION="Program for assessing the agreement between the atomic model and X-ray data or EM map"
10 HOMEPAGE="http://www.ysbl.york.ac.uk/~alexei/sfcheck.html"
11 #SRC_URI="http://www.ysbl.york.ac.uk/~alexei/downloads/sfcheck.tar.gz"
12 SRC_URI="mirror://gentoo/${P}.tar.gz"
13
14 SLOT="0"
15 LICENSE="ccp4"
16 KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
17 IUSE=""
18
19 RDEPEND="sci-libs/ccp4-libs"
20 DEPEND="${RDEPEND}
21 !<sci-chmistry/ccp4-apps-6.1.3"
22
23 S="${WORKDIR}"/${PN}
24
25 src_prepare() {
26 epatch "${FILESDIR}"/7.03.17-ldflags.patch
27
28 emake -C src clean
29 }
30
31 src_compile() {
32 MR_FORT="$(tc-getFC) ${FFLAGS}" \
33 MR_LIBRARY="-lccp4f" \
34 emake -C src all
35 }
36
37 src_install() {
38 exeinto /usr/libexec/ccp4/bin/
39 doexe bin/${PN}
40 dosym ../libexec/ccp4/bin/${PN} /usr/bin/${PN}
41 dodoc readme ${PN}.com.gz doc/${PN}*
42 }

  ViewVC Help
Powered by ViewVC 1.1.20