/[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.4 - (hide annotations) (download)
Sun Jan 16 10:37:13 2011 UTC (9 years, 1 month ago) by hwoarang
Branch: MAIN
Changes since 1.3: +3 -3 lines
Stable on amd64 wrt bug #351751

(Portage version: 2.1.9.31/cvs/Linux x86_64)

1 hwoarang 1.4 # Copyright 1999-2011 Gentoo Foundation
2 jlec 1.1 # Distributed under the terms of the GNU General Public License v2
3 hwoarang 1.4 # $Header: /var/cvsroot/gentoo-x86/sci-libs/balbes-db/balbes-db-6.1.3.ebuild,v 1.3 2010/03/29 18:53:19 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 hwoarang 1.4 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 jlec 1.3 # db files shouldn't 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