/[gentoo-x86]/sci-libs/clipper/clipper-20100511-r1.ebuild
Gentoo

Contents of /sci-libs/clipper/clipper-20100511-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Jul 10 11:29:49 2013 UTC (6 years, 11 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
sci-libs/clipper: Drop old versioned named ebuild

(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

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-libs/clipper/clipper-20100511-r1.ebuild,v 1.7 2012/07/10 18:04:50 ranger Exp $
4
5 EAPI=4
6
7 AUTOTOOLS_AUTORECONF=true
8
9 inherit autotools-utils eutils flag-o-matic
10
11 DESCRIPTION="Object-oriented libraries for crystallographic data and crystallographic computation"
12 HOMEPAGE="http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html"
13 # Transform 4-digit year to 2 digits
14 SRC_URI="http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper-2.1-${PV:2:${#PV}}-ac.tar.gz"
15
16 LICENSE="LGPL-2.1"
17 SLOT="0"
18 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
19 IUSE="debug static-libs"
20
21 RDEPEND="
22 sci-libs/ccp4-libs
23 sci-libs/fftw
24 sci-libs/mmdb"
25 DEPEND="${RDEPEND}"
26
27 S="${WORKDIR}"/${PN}-2.1
28
29 PATCHES=(
30 "${FILESDIR}"/20091215-missing-var.patch
31 "${FILESDIR}"/${PV}-makefile.patch
32 "${FILESDIR}"/${P}-outofsourcebuild.patch
33 )
34
35 src_configure() {
36 # Recommended on ccp4bb/coot ML to fix crashes when calculating maps
37 # on 64-bit systems
38 append-flags -fno-strict-aliasing
39
40 local myeconfargs=(
41 --enable-ccp4
42 --enable-cif
43 --enable-cns
44 --enable-contrib
45 --enable-minimol
46 --enable-mmdb
47 --enable-phs
48 --with-mmdb="${EPREFIX}/usr"
49 $(use_enable debug)
50 )
51 autotools-utils_src_configure
52 }
53
54 src_test() {
55 emake -C "${AUTOTOOLS_BUILD_DIR}"/examples check
56 }

  ViewVC Help
Powered by ViewVC 1.1.20