summaryrefslogtreecommitdiff
path: root/sci-biology/muscle/muscle-3.8.31.ebuild
blob: faefc5b1a2800cbc2ce66e1246b87260683b89fa (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit flag-o-matic toolchain-funcs

MY_P="${PN}${PV}_src"

DESCRIPTION="Multiple sequence comparison by log-expectation"
HOMEPAGE="https://www.drive5.com/muscle/"
SRC_URI="https://www.drive5.com/muscle/downloads${PV}/${MY_P}.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"

RDEPEND="!sci-libs/libmuscle"

S="${WORKDIR}"/${PN}${PV}/src

PATCHES=( "${FILESDIR}"/${PV}-make.patch )

src_configure() {
	# -Werror=strict-aliasing
	# https://bugs.gentoo.org/862276
	# Fixed upstream in later releases
	#
	# Do not trust with LTO either.
	append-flags -fno-strict-aliasing
	filter-lto

	tc-export CXX
}

src_install() {
	dobin muscle
	dodoc *.txt
}