summaryrefslogtreecommitdiff
blob: 84c0c22668048be88b6d7f825ec2cef3d4cc0a20 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Multiple sequence comparison by log-expectation"
HOMEPAGE="https://www.drive5.com/muscle/"
SRC_URI="https://github.com/rcedgar/muscle/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${P}/src

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

RDEPEND="!sci-libs/libmuscle"

PATCHES=(
	"${FILESDIR}"/0001-Makefile-fix-horribleness-so-that-it-respects-build-.patch
)

src_configure() {
	tc-export CXX
	printf '"%s"\n' "${PV}" > gitver.txt
}

src_install() {
	local OS=$(uname) || die
	dobin ${OS}/muscle
	dodoc *.txt
}