pantry/projects/lz4.org/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

23 lines
417 B
YAML

distributable:
url: https://github.com/lz4/lz4/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: lz4/lz4
strip: /^LZ4 /
provides:
- bin/lz4
build:
dependencies:
script:
make --jobs {{hw.concurrency}} install PREFIX="{{prefix}}"
test:
fixture:
testing compression and decompression
script: |
cat $FIXTURE | lz4 | lz4 -d > out
test "$(cat $FIXTURE)" = "$(cat out)"