/[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.2 - (hide annotations) (download)
Sun Mar 28 20:36:04 2010 UTC (9 years, 10 months ago) by jlec
Branch: MAIN
Changes since 1.1: +3 -3 lines
Keyworded for ~x86-linux ~amd64-linux
(Portage version: 2.2_rc67/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 jlec 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-libs/balbes-db/balbes-db-6.1.3.ebuild,v 1.1 2010/02/04 23:24:50 jlec Exp $
4 jlec 1.1
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 jlec 1.2 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
19 jlec 1.1 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 jlec 1.2 find "${ED}"/usr/share/balbes/BALBES_0.0.1/ \
38 jlec 1.1 -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