blob: aa66bcdc9caf702d0e829df3fd90c9769b0fe192 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
DESCRIPTION="ORF finding despite frameshifts, EST clustering"
HOMEPAGE="http://www.ebi.ac.uk/~guy/estate"
SRC_URI="
http://www.ebi.ac.uk/~guy/estate/estate.tar.gz
http://www.ebi.ac.uk/~guy/estate/thesis.ps.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
S="${WORKDIR}"/estate
src_prepare(){
sed \
-e "s/^CC/#CC/" \
-e "s/^LDFLAGS/#LDFLAGS/" \
-e "s/^CFLAGS/#CFLAGS/" \
-e "s/LDFLAGS/CFLAGS/" \
-i src/Makefile || die
}
src_install(){
# prevent file collision with sci-biology/hmmer-2.3.2
newbin bin/{revcomp,revcomp_ESTate}
rm bin/revcomp || die
newbin bin/{translate,translate_ESTate}
rm bin/translate || die
dobin bin/*
doman doc/man/man1/*.1 doc/man/man7/*.7
insinto /usr/share/ESTate/etc
doins etc/ESTaterc
insinto /usr/share/ESTate/example
doins example/embl59* example/drosophila*
dodoc ANNOUNCE.txt README.txt "${DISTDIR}"/thesis.ps.gz
}
pkg_postinst() {
optfeature "additional features" sci-biology/wcd
}
|