From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/refmac: metadata.xml ChangeLog refmac-5.5.0109.ebuild |
Date: | Tue, 02 Feb 2010 22:43:59 |
Message-Id: | E1NcRTQ-0000Db-Lq@stork.gentoo.org |
1 | jlec 10/02/02 22:43:56 |
2 | |
3 | Added: metadata.xml ChangeLog refmac-5.5.0109.ebuild |
4 | Log: |
5 | refmac splitted from ccp4 package |
6 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-chemistry/refmac/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/refmac/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/refmac/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>sci</herd> |
20 | <maintainer> |
21 | <email>sci@g.o</email> |
22 | </maintainer> |
23 | <maintainer> |
24 | <email>jlec@g.o</email> |
25 | <name>Justin Lecher (jlec)</name> |
26 | </maintainer> |
27 | </pkgmetadata> |
28 | |
29 | |
30 | |
31 | 1.1 sci-chemistry/refmac/ChangeLog |
32 | |
33 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/refmac/ChangeLog?rev=1.1&view=markup |
34 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/refmac/ChangeLog?rev=1.1&content-type=text/plain |
35 | |
36 | Index: ChangeLog |
37 | =================================================================== |
38 | # ChangeLog for sci-chemistry/refmac |
39 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
40 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v 1.1 2010/02/02 22:43:56 jlec Exp $ |
41 | |
42 | *refmac-5.5.0109 (02 Feb 2010) |
43 | |
44 | 02 Feb 2010; Justin Lecher (jlec) <jlec@g.o> |
45 | +files/5.5-allow-dynamic-linking.patch, +files/5.5-test.log.patch, |
46 | +refmac-5.5.0109.ebuild, +metadata.xml: |
47 | refmac splitted from ccp4 package |
48 | |
49 | |
50 | |
51 | |
52 | 1.1 sci-chemistry/refmac/refmac-5.5.0109.ebuild |
53 | |
54 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/refmac/refmac-5.5.0109.ebuild?rev=1.1&view=markup |
55 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/refmac/refmac-5.5.0109.ebuild?rev=1.1&content-type=text/plain |
56 | |
57 | Index: refmac-5.5.0109.ebuild |
58 | =================================================================== |
59 | # Copyright 1999-2010 Gentoo Foundation |
60 | # Distributed under the terms of the GNU General Public License v2 |
61 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/refmac-5.5.0109.ebuild,v 1.1 2010/02/02 22:43:56 jlec Exp $ |
62 | |
63 | EAPI="2" |
64 | |
65 | inherit fortran base toolchain-funcs versionator |
66 | |
67 | DESCRIPTION="Macromolecular crystallographic refinement program" |
68 | HOMEPAGE="http://www.ysbl.york.ac.uk/~garib/refmac/" |
69 | SRC_URI="${HOMEPAGE}data/refmac_stable/refmac_${PV}.tar.gz |
70 | test? ( http://dev.gentooexperimental.org/~jlec/distfiles/test-framework.tar.gz )" |
71 | |
72 | SLOT="0" |
73 | LICENSE="ccp4" |
74 | KEYWORDS="~amd64 ~x86" |
75 | IUSE="test" |
76 | |
77 | RDEPEND=" |
78 | sci-libs/ccp4-libs |
79 | sci-libs/mmdb |
80 | virtual/blas |
81 | virtual/lapack" |
82 | DEPEND="${RDEPEND}" |
83 | |
84 | S="${WORKDIR}" |
85 | |
86 | PATCHES=( |
87 | "${FILESDIR}"/$(get_version_component_range 1-2 ${PV})-allow-dynamic-linking.patch |
88 | ) |
89 | |
90 | src_prepare() { |
91 | base_src_prepare |
92 | use test && epatch "${FILESDIR}"/test.log.patch |
93 | } |
94 | |
95 | src_compile() { |
96 | emake \ |
97 | FC=$(tc-getFC) \ |
98 | CC=$(tc-getCC) \ |
99 | CXX=$(tc-getCXX) \ |
100 | COPTIM="${CFLAGS}" \ |
101 | FOPTIM="${FFLAGS:- -O2}" \ |
102 | VERSION="" \ |
103 | XFFLAGS="-fno-second-underscore" \ |
104 | LLIBCCP="-lccp4f -lccp4c -lccif -lmmdb -lstdc++" \ |
105 | LLIBLAPACK="-llapack -lblas" \ |
106 | || die |
107 | } |
108 | |
109 | src_test() { |
110 | einfo "Starting tests ..." |
111 | export PATH="${WORKDIR}/test-framework/scripts:${S}:${PATH}" |
112 | export CCP4_TEST="${WORKDIR}"/test-framework |
113 | export CCP4_SCR="${T}" |
114 | ln -sf refmac "${S}"/refmac5 |
115 | sed '/^ANISOU/d' -i ${CCP4_TEST}/data/pdb/1vr7.pdb |
116 | ccp4-run-thorough-tests -v test_refmac5 || die |
117 | } |
118 | |
119 | src_install() { |
120 | for i in refmac libcheck makecif; do |
121 | dobin ${i} || die |
122 | done |
123 | dosym refmac /usr/bin/refmac5 || die |
124 | dodoc refmac_keywords.pdf bugs_and_features.pdf || die |
125 | } |