pantry/projects/github.com/ivmai/libatomic_ops/package.yml
2023-10-01 20:41:57 -04:00

23 lines
569 B
YAML

distributable:
url: https://github.com/ivmai/libatomic_ops/releases/download/v{{version}}/libatomic_ops-{{version}}.tar.gz
strip-components: 1
versions:
github: ivmai/libatomic_ops
build:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }}
- make --jobs {{ hw.concurrency }} check
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --modversion atomic_ops | grep {{version}}