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

Contents of /sci-chemistry/sfcheck/sfcheck-7.03.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jan 15 14:56:16 2011 UTC (8 years, 9 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removed old

(Portage version: 2.2.0_alpha15/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.17.ebuild,v 1.1 2010/02/06 22:13:13 jlec Exp $
4
5 EAPI="2"
6
7 inherit eutils 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 KEYWORDS="~amd64 ~x86"
16 LICENSE="ccp4"
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}"/${PV}-ldflags.patch
27
28 emake \
29 -C src \
30 clean || die
31 }
32
33 src_compile() {
34 MR_FORT="$(tc-getFC) ${FFLAGS}" \
35 MR_LIBRARY="-lccp4f" \
36 emake \
37 -C src \
38 all || die
39 }
40
41 src_install() {
42 dobin bin/${PN} || die
43 dodoc readme ${PN}.com.gz doc/${PN}* || die
44 }

  ViewVC Help
Powered by ViewVC 1.1.20