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

26 lines
498 B
YAML

distributable:
url: https://github.com/Cyan4973/xxHash/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: Cyan4973/xxHash
build:
script: |
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install $ARGS
env:
ARGS:
- PREFIX="{{prefix}}"
provides:
- bin/xxhsum
- bin/xxh32sum
- bin/xxh64sum
- bin/xxh128sum
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --modversion libxxhash | grep {{version}}