aboutsummaryrefslogtreecommitdiff
blob: 46a326c70f7522bd5d441f2057ba17faad28043e (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# inherit

DESCRIPTION="Monomer library used for macromolecular structure building and refinement."
HOMEPAGE="www.ccp4.ac.uk"
SRC_URI="http://dev.gentooexperimental.org/~jlec/science-dist/${P}.tar.gz"

LICENSE="ccp4"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RESTRICT="binchecks strip"

RDEPEND="!<sci-chemistry/ccp4-6.1
	!<sci-libs/ccp4-libs-6.1.1-r1"
DEPEND="${RDEPEND}"

S="${WORKDIR}"/dic

src_install() {
	insinto /usr/share/ccp4/data/monomers/
	for i in {a..z} {1..9} *list *.cif *.txt; do
		doins -r ${i} || die
	done
	dodoc *.txt || die
	dohtml *.html || die
}