mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
36 lines
777 B
YAML
36 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
|