blob: 666d21cd5532ebdae7aefe506d1e17fa3daaa80a (
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
53
54
55
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
MY_PV="${PV/_beta/b}"
DESCRIPTION="Sequence analysis using profile hidden Markov models"
HOMEPAGE="http://hmmer.org/"
SRC_URI="http://eddylab.org/software/${PN}3/${MY_PV}/hmmer-${MY_PV}.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="cpu_flags_ppc_altivec cpu_flags_x86_sse gsl mpi test"
RESTRICT="!test? ( test )"
RDEPEND="
mpi? ( virtual/mpi )
gsl? ( sci-libs/gsl:= )"
DEPEND="${RDEPEND}"
BDEPEND="test? ( dev-lang/perl )"
PATCHES=(
"${FILESDIR}"/${PN}-3.1_beta2-fix-perl-shebangs.patch
"${FILESDIR}"/${PN}-3.1_beta2-makefile.patch
)
src_configure() {
# make build verbose, bug #429308
export V=1
econf \
--disable-pic \
--enable-threads \
$(use_enable cpu_flags_ppc_altivec vmx) \
$(use_enable cpu_flags_x86_sse sse) \
$(use_enable mpi) \
$(use_with gsl)
}
src_compile() {
emake AR="$(tc-getAR)"
}
src_install() {
default
dodoc Userguide.pdf
insinto /usr/share/hmmer
doins -r tutorial
}
|