diff --git a/projects/github.com/ivmai/libatomic_ops/package.yml b/projects/github.com/ivmai/libatomic_ops/package.yml new file mode 100644 index 00000000..2ecea19b --- /dev/null +++ b/projects/github.com/ivmai/libatomic_ops/package.yml @@ -0,0 +1,26 @@ +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}} \ No newline at end of file