summaryrefslogtreecommitdiff
path: root/sci-biology/unafold/unafold-3.8-r1.ebuild
blob: 3ad5b77f4f20835a546dc5902e94c0e1ada87324 (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-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Unified Nucleic Acid Folding and hybridization package"
HOMEPAGE="http://mfold.rna.albany.edu/"
SRC_URI="http://dinamelt.bioinfo.rpi.edu/download/${P}.tar.bz2"

LICENSE="unafold"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	media-libs/freeglut
	media-libs/gd
	virtual/opengl
"
DEPEND="${RDEPEND}"
BDEPEND="
	dev-build/autoconf-archive
	dev-lang/perl
	test? ( dev-perl/XML-Parser )
"

PATCHES=(
	"${FILESDIR}"/${P}-doc-version.patch
	"${FILESDIR}"/${P}-autotools.patch
	"${FILESDIR}"/${P}-clang16.patch
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	econf --disable-coverage
}