blob: 6784cc2c3d75eea32788156db66513d7020b6262 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mrbump/mrbump-0.4.4.ebuild,v 1.1 2010/02/06 23:25:56 jlec Exp $
EAPI="2"
inherit eutils multilib
DESCRIPTION="An automated scheme for Molecular Replacement"
HOMEPAGE="http://www.ccp4.ac.uk/MrBUMP"
SRC_URI="${HOMEPAGE}/release/${P}.tar.gz"
LICENSE="ccp4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X perl"
RDEPEND=">=sci-chemistry/ccp4-apps-6.1.3[X?]
|| ( sci-biology/mafft
sci-biology/clustalw:2
sci-biology/probcons
sci-biology/t-coffee )
sci-biology/fasta
X? ( media-gfx/graphviz )
perl? ( dev-perl/SOAP-Lite )
>=dev-lang/python-2.3"
DEPEND="${RDEPEND}"
src_unpack(){
unpack ${A}
cd "${S}"
unpack ./"${PN}".tar.gz
}
src_prepare() {
epatch "${FILESDIR}"/${PV}-superpose.patch
}
src_install(){
insinto /usr/$(get_libdir)/ccp4/ccp4i
doins -r ccp4i/{MrBUMP-ccp4i.tar.gz,MrBUMP/{help,scripts,tasks,templates}} || \
die "failed to install interface"
insinto /usr/share/${PN}
doins -r share/${PN}/{data,include} || die "failed to install mrbump data"
dobin share/${PN}/bin/* || die "failed to install binaries"
dodoc README.txt || die
dohtml html/mrbump_doc.html || die
}
|