mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
fb9f4975c7
* +mcmc-jags.sourceforge.io * Fixed a few problems * fixes * lol * libs * test files --------- Co-authored-by: James Reynolds <magnsuviri@me.com> Co-authored-by: Jacob Heider <jacob@tea.xyz>
35 lines
777 B
YAML
35 lines
777 B
YAML
distributable:
|
|
url: https://downloads.sourceforge.net/project/mcmc-jags/JAGS/{{version.major}}.x/Source/JAGS-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/
|
|
match: /JAGS-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /^JAGS-/
|
|
- /\.tar\.gz$/
|
|
|
|
dependencies:
|
|
gnu.org/gcc: '*' # libstdc++
|
|
linux:
|
|
netlib.org/lapack: ^3
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script:
|
|
- ./configure $ARGS
|
|
- make --jobs {{ hw.concurrency }} install
|
|
- run: |
|
|
sed -i.bak -e 's|{{prefix}}|$(dirname $0)/..|g' jags
|
|
rm jags.bak
|
|
working-directory: ${{prefix}}/bin
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
|
|
provides:
|
|
- bin/jags
|
|
|
|
test: jags script
|