Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/clipper: ChangeLog clipper-20100511.ebuild
Date: Tue, 11 May 2010 16:29:23
Message-Id: 20100511162915.4E01B2C4F8@corvid.gentoo.org
1 jlec 10/05/11 16:29:15
2
3 Modified: ChangeLog
4 Added: clipper-20100511.ebuild
5 Log:
6 Version Bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.9 sci-libs/clipper/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clipper/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clipper/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clipper/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/clipper/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 25 Apr 2010 11:32:16 -0000 1.8
23 +++ ChangeLog 11 May 2010 16:29:15 -0000 1.9
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-libs/clipper
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/ChangeLog,v 1.8 2010/04/25 11:32:16 jlec Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/ChangeLog,v 1.9 2010/05/11 16:29:15 jlec Exp $
29 +
30 +*clipper-20100511 (11 May 2010)
31 +
32 + 11 May 2010; Justin Lecher <jlec@g.o> +clipper-20100511.ebuild:
33 + Version Bump
34
35 *clipper-20100416 (16 Apr 2010)
36
37
38
39
40 1.1 sci-libs/clipper/clipper-20100511.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clipper/clipper-20100511.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/clipper/clipper-20100511.ebuild?rev=1.1&content-type=text/plain
44
45 Index: clipper-20100511.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/clipper-20100511.ebuild,v 1.1 2010/05/11 16:29:15 jlec Exp $
50
51 EAPI="3"
52
53 WANT_AUTOMAKE="1.11"
54
55 inherit autotools eutils flag-o-matic
56
57 DESCRIPTION="Object-oriented libraries for the organisation of crystallographic data and the performance of crystallographic computation"
58 HOMEPAGE="http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html"
59 # Transform 4-digit year to 2 digits
60 SRC_URI="http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper-2.1-${PV:2:${#PV}}-ac.tar.gz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
65 IUSE="debug"
66
67 RDEPEND="
68 sci-libs/ccp4-libs
69 sci-libs/fftw
70 sci-libs/mmdb"
71 DEPEND="${RDEPEND}"
72
73 S="${WORKDIR}"/${PN}-2.1
74
75 src_prepare() {
76 epatch "${FILESDIR}"/20091215-missing-var.patch
77
78 # ccp4 provides these, and more.
79 sed -i -e "s:examples::g" "${S}"/Makefile.am
80
81 AT_M4DIR="config" eautoreconf
82 }
83
84 src_configure() {
85 # Recommended on ccp4bb/coot ML to fix crashes when calculating maps
86 # on 64-bit systems
87 append-flags -fno-strict-aliasing
88
89 econf \
90 --enable-ccp4 \
91 --enable-cif \
92 --enable-cns \
93 --enable-contrib \
94 --enable-minimol \
95 --enable-mmdb \
96 --enable-phs \
97 --with-mmdb="${EPREFIX}"/usr \
98 $(use_enable debug)
99 }
100
101 src_test() {
102 emake \
103 -C examples \
104 check || die
105 }
106
107 src_install() {
108 emake DESTDIR="${D}" install || die
109 dodoc README ChangeLog NEWS || die
110 }