mirror of
https://github.com/ivabus/pantry
synced 2024-11-15 13:05:08 +03:00
24 lines
443 B
YAML
24 lines
443 B
YAML
distributable:
|
|
url: https://github.com/danfis/libccd/archive/v{{version.marketing}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: danfis/libccd/tags
|
|
stripe: ^v
|
|
|
|
build:
|
|
dependencies:
|
|
cmake.org: '*'
|
|
script: |
|
|
cmake . $ARGS
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
env:
|
|
ARGS:
|
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
|
|
- -DENABLE_DOUBLE_PRECISION=ON
|
|
|
|
test:
|
|
script: |
|
|
cc -o test test.c -lccd
|
|
./test
|