mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
matio.sourceforge.io (#2361)
This commit is contained in:
parent
a0675fe6ac
commit
42042ae155
1 changed files with 37 additions and 0 deletions
37
projects/matio.sourceforge.io/package.yml
Normal file
37
projects/matio.sourceforge.io/package.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
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}}
|
Loading…
Reference in a new issue