sci-biology/paml - 4.10.7 (gentoo)

Search

Package Information

Description:
Phylogenetic Analysis by Maximum Likelihood
Homepage:
https://abacus.gene.ucl.ac.uk/software/paml.html
License:
free-noncomm

Ebuild Details

Version EAPI Keywords Slot
4.10.7 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Phylogenetic Analysis by Maximum Likelihood"
HOMEPAGE="https://abacus.gene.ucl.ac.uk/software/paml.html"
SRC_URI="https://github.com/abacus-gene/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="~amd64 ~x86"

PATCHES=(
	"${FILESDIR}"/${PN}-4.10.7-LDFLAGS.patch
)

src_compile() {
	emake -C src CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}

src_install() {
	dobin src/{baseml,basemlg,codeml,evolver,pamp,mcmctree,infinitesites,yn00,chi2}

	dodoc -r README.md doc/.

	insinto /usr/share/${PN}/control
	doins examples/*.ctl

	insinto /usr/share/${PN}/dat
	doins -r examples/stewart* examples/*.dat dat/.

	insinto /usr/share/${PN}
	doins -r examples
}

Manifest for 4.10.7

Type File Size Source URLs
DIST paml-4.10.7.tar.gz 5250841 bytes https://github.com/abacus-gene/paml/archive/refs/tags/4.10.7.tar.gz