blob: a38be2db4a07454d5059ee12815f52283721f434 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/gibbs/gibbs-1995.9.ebuild,v 1.2 2006/01/04 23:35:08 ribosome Exp $
DESCRIPTION="A Gibbs sampling algorithm for local alignment of subtle sequence signals in multiple protein sequences."
HOMEPAGE="http://www.people.fas.harvard.edu/~junliu/index1.html"
SRC_NAME="gibbs9_95" # 9_95 refers to the september 1995 version
SRC_URI="http://www.fas.harvard.edu/~junliu/Software/${SRC_NAME}.tar"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="x86"
IUSE=""
S="${WORKDIR}"/${SRC_NAME}/code
src_compile() {
LIBS="-lm" make -e || die
}
src_install() {
cd "${WORKDIR}"/${SRC_NAME}
dobin gibbs purge scan
dobin "${FILESDIR}"/gibbs-demo
dodoc README
insinto /usr/share/${PN}
doins demo.out
insinto /usr/share/${PN}/examples
doins examples/*
}
pkg_postinst() {
einfo 'Testcase: To ensure the gibbs sampler works correctly,'
einfo 'run "gibbs-demo > mydemo.out" and compare "mydemo.out"'
einfo 'with "/usr/share/gibbs/demo.out" using diff. The files'
einfo 'should differ only by their timing statistics and the'
einfo 'paths of the example files.'
}
|