sci-biology/paml: add 4.10.7

Project source is now hosted on github.

Closes: https://bugs.gentoo.org/831488
Closes: https://bugs.gentoo.org/919885
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/36048
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
NHOrus
2024-04-01 22:08:48 +04:00
committed by Sam James
parent f61718a750
commit 8a73a8d755
3 changed files with 41 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST paml-4.10.7.tar.gz 5250841 BLAKE2B 4d2a7fdc8eb93abe200165f7805520a02f4251dc651f26c4e1bf6fb11eee3d0721fd9d6f3c96979bae0f51b77f168e8d8a12f3dd3cbbfec7e8210a70b7c4bb9e SHA512 e450c0a28ecef946279fd92834eb5ddfb50805167655364cc959ef21839a75280a37d79209918373e80dacb0fc35decaccdb1477e53a81fd99fb140a0ce839fe
DIST paml4.9j.tgz 6380272 BLAKE2B 58fc40904aff6ae539613e772fc0525b557c1e72c1a7a1d95176987bafed8771624ae6c53803bc71c5821a52de8212a49ad99c02c408870ec929c15b6bf217e0 SHA512 c5f3c42409bbaf5ac67c816a245f1d3175ee449dcf10232d9de539130341f80f85ae53518cbca549b1f42ddf64a6e8140a22b9da091d458b425512f11f8c1758

View File

@@ -5,4 +5,7 @@
<email>sci-biology@gentoo.org</email>
<name>Gentoo Biology Project</name>
</maintainer>
<upstream>
<remote-id type="github">abacus-gene/paml</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,37 @@
# 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"
src_configure() {
tc-export CC
}
src_compile() {
emake -C src
}
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
}