mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
33 lines
622 B
YAML
33 lines
622 B
YAML
|
distributable:
|
||
|
url: https://github.com/qhull/qhull/archive/refs/tags/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
url: https://api.github.com/repos/qhull/qhull/tags
|
||
|
match: /v\d+.\d+.\d+
|
||
|
strip: /^v/
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
tea.xyz/gx/make: '*'
|
||
|
cmake.org: '*'
|
||
|
script: |
|
||
|
cmake $ARGS
|
||
|
make --jobs {{ hw.concurrency }} install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
|
||
|
- -DLIB_INSTALL_DIR="{{prefix}}"/lib
|
||
|
|
||
|
provides:
|
||
|
- bin/qconvex
|
||
|
- bin/qdelaunay
|
||
|
- bin/qhalf
|
||
|
- bin/qhull
|
||
|
- bin/qvoronoi
|
||
|
- bin/rbox
|
||
|
|
||
|
test:
|
||
|
qhull -V | grep {{version}}
|