mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
37 lines
No EOL
845 B
YAML
37 lines
No EOL
845 B
YAML
distributable:
|
|
url: https://downloads.sourceforge.net/project/matio/matio/{{version}}/matio-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
display-name: libmatio
|
|
|
|
versions:
|
|
url: https://sourceforge.net/projects/matio/files/matio/
|
|
match: /files\/matio\/\d+.\d+.\d+/
|
|
strip: /^files\/matio\//
|
|
|
|
dependencies:
|
|
hdfgroup.org/HDF5: '*'
|
|
zlib.net: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
|
|
script:
|
|
- ./configure $ARGS
|
|
- make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --disable-debug
|
|
- --disable-dependency-tracking
|
|
- --enable-extended-sparse=yes
|
|
- --enable-mat73=yes
|
|
- --with-hdf5={{deps.hdfgroup.org/HDF5.prefix}}
|
|
- --with-zlib={{deps.zlib.net.prefix}}
|
|
|
|
provides:
|
|
- bin/matdump
|
|
|
|
test: matdump --version | grep {{version}} |