pantry/projects/github.com/ivmai/libatomic_ops/package.yml
Andrew 27034c6579
github.com/ivmai/libatomic_ops (#2325)
* github.com/ivmai/libatomic_ops

* hboehm.info/gc

* Delete package.yml

* Delete test.c
2023-06-30 15:06:39 -04:00

26 lines
No EOL
633 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:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
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}}