/[gentoo-x86]/sci-libs/coot-data/coot-data-2.ebuild
Gentoo

Contents of /sci-libs/coot-data/coot-data-2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Nov 21 15:31:44 2011 UTC (2 years, 10 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
keyworded for ~x86-macos ~x64-macos, tested by Johan Hattne #390123

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

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/coot-data/coot-data-2.ebuild,v 1.4 2010/07/15 20:09:25 maekke Exp $
4
5 EAPI="3"
6
7 DESCRIPTION="Data for the Crystallographic Object-Oriented Toolkit"
8 HOMEPAGE="http://www.biop.ox.ac.uk/coot/"
9 #SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/extras/reference-structures.tar.gz"
10 SRC_URI="mirror://gentoo/reference-structures-${PV}.tar.gz"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
15 IUSE=""
16
17 RESTRICT="binchecks strip"
18
19 S="${WORKDIR}"
20
21 src_install() {
22 insinto /usr/share/coot
23 doins -r reference-structures || die
24
25 # Coot looks in the wrong spot for the monomer library
26 # Listens to ccp4's CCP4_LIB rather than CLIBD_MON
27 cat >> "${T}"/coot <<- EOF
28 COOT_REFMAC_LIB_DIR="${EPREFIX}/usr/share/ccp4/"
29 COOT_REF_STRUCTS="${EPREFIX}/usr/share/coot/reference-structures/"
30 EOF
31
32 newenvd "${T}"/coot 20coot || die
33 }

  ViewVC Help
Powered by ViewVC 1.1.20