mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
26 lines
557 B
YAML
26 lines
557 B
YAML
distributable:
|
|
url: https://github.com/google/brotli/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: google/brotli
|
|
|
|
build:
|
|
dependencies:
|
|
cmake.org: '*'
|
|
working-directory: build.d
|
|
script: |
|
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX={{prefix}}
|
|
make --jobs={{ hw.concurrency }}
|
|
make install
|
|
|
|
provides:
|
|
- bin/brotli
|
|
|
|
test:
|
|
fixture:
|
|
Hello, World!
|
|
script: |
|
|
brotli $FIXTURE $FIXTURE.br
|
|
brotli $FIXTURE.br --output=out.txt --decompress
|
|
test "$(cat $FIXTURE)" = "$(cat out.txt)"
|