/[gentoo-x86]/sci-libs/balbes-db/balbes-db-6.1.3-r1.ebuild
Gentoo

Contents of /sci-libs/balbes-db/balbes-db-6.1.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Nov 21 15:29:17 2011 UTC (3 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 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/balbes-db/balbes-db-6.1.3-r1.ebuild,v 1.1 2011/07/23 11:28:37 jlec Exp $
4
5 EAPI="3"
6
7 MY_P="ccp4-${PV}"
8
9 SRC="ftp://ftp.ccp4.ac.uk/ccp4"
10 VERSION="10-11-08"
11
12 DESCRIPTION="The database for the BALBES automated crystallographic molecular replacement pipeline"
13 HOMEPAGE="http://www.ysbl.york.ac.uk/~fei/balbes/"
14 SRC_URI="${SRC}/${PV}/${MY_P}-${PN/-/}-${VERSION}.tar.gz"
15
16 LICENSE="ccp4"
17 SLOT="0"
18 KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
19 IUSE=""
20
21 RDEPEND="
22 >=dev-python/pyxml-0.8.4
23 sci-libs/monomer-db"
24 DEPEND="${RDEPEND}"
25 RESTRICT="binchecks strip"
26
27 S="${WORKDIR}/${MY_P}"
28
29 src_install() {
30 dodir /usr/share/balbes/BALBES_0.0.1
31 rm -rf share/balbes/BALBES_0.0.1/dic
32 # We don't want to wait around to copy all this, or suck up double
33 # the disk space
34 einfo "Installing files, which can take some time ..."
35 mv "${S}"/share/balbes/BALBES_0.0.1/* "${ED}"/usr/share/balbes/BALBES_0.0.1/ || die
36 # db files shouldn't be executable
37 find "${ED}"/usr/share/balbes/BALBES_0.0.1/ \
38 -type f \
39 -exec chmod 664 '{}' \;
40 dosym ../../ccp4/data/monomers /usr/share/balbes/BALBES_0.0.1/dic || die
41
42 cat >> "${T}"/20balbes <<- EOF
43 BALBES_ROOT="${EPREFIX}/usr/share/balbes/BALBES_0.0.1/"
44 EOF
45
46 doenvd "${T}"/20balbes
47 }

  ViewVC Help
Powered by ViewVC 1.1.20