mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sci-mathematics/jags: add 4.3.1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST JAGS-4.3.0.tar.gz 2057409 BLAKE2B 5820c66dd10cc90343d53b901b7dbc1acf85dca0f5f80280864190882f0af865edad877eb2cfd421ec2035d3ae843373da1facee8a10b6735e2fc0387d452949 SHA512 d0564c73ff45484afad532ed788353f9c0945cd9667030eed5be674492bf97524d05903b22d4995c1de8a331dba7b04425d009e114d98a38b4bfce5214518b36
|
||||
DIST JAGS-4.3.1.tar.gz 2019687 BLAKE2B dd464675f1aab59d007ffb29844b50ddcc26320cf8159b5ca108bf0e6db9878499aa40e090250b84ff4c8733100149037b2b3cee00b3ff2ec4fb23769157b944 SHA512 dceb97c92ad3ce3ebf62e1e68e822857f170f797f81a79fe5a56d8a81f8ea619e6e06356335e44def8f50ff82af55b2f9f7a880b84e092262a2d78e46c43acf2
|
||||
|
||||
47
sci-mathematics/jags/jags-4.3.1.ebuild
Normal file
47
sci-mathematics/jags/jags-4.3.1.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MYP="JAGS-${PV}"
|
||||
|
||||
DESCRIPTION="Just Another Gibbs Sampler for Bayesian MCMC simulation"
|
||||
HOMEPAGE="https://mcmc-jags.sourceforge.io/"
|
||||
SRC_URI="mirror://sourceforge/project/mcmc-jags/JAGS/$(ver_cut 1).x/Source/${MYP}.tar.gz"
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
virtual/blas
|
||||
virtual/lapack
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-latexextra
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
|
||||
--with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all $(usev doc docs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use doc && dodoc doc/manual/*.pdf
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user