mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+libdeflate
This commit is contained in:
parent
fc26fe45a1
commit
3d623f3f8e
34
projects/github.com/ebiggers/libdeflate/package.yml
Normal file
34
projects/github.com/ebiggers/libdeflate/package.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/ebiggers/libdeflate/archive/refs/tags/v{{version.major}}.{{version.minor}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: ebiggers/libdeflate/releases
|
||||||
|
strip:
|
||||||
|
- /^v/
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
cmake.org: ^3
|
||||||
|
working-directory: build
|
||||||
|
script: |
|
||||||
|
cmake .. $ARGS
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
|
||||||
|
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/libdeflate-gzip
|
||||||
|
- bin/libdeflate-gunzip
|
||||||
|
|
||||||
|
test:
|
||||||
|
fixture: |
|
||||||
|
test
|
||||||
|
script: |
|
||||||
|
libdeflate-gzip $FIXTURE
|
||||||
|
libdeflate-gunzip -d $FIXTURE.gz
|
Loading…
Reference in a new issue