mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
69ef92a7aa
Co-authored-by: Max Howell <mxcl@me.com>
24 lines
465 B
YAML
24 lines
465 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:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
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)"
|