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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Feb 4 23:24:50 2010 UTC (10 years ago) by jlec
Branch: MAIN
The database for the BALBES automated crystallographic molecular replacement pipeline
(Portage version: 2.2_rc62/cvs/Linux x86_64)

1 jlec 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
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 ~x86"
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 should be executable
37     find "${D}"/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