mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
github.com/Cyan4973/xxHash (#2186)
* new file: projects/github.com/Cyan4973/xxHash/package.yml * pkg-config
This commit is contained in:
parent
9d700f7ab6
commit
a2f0e848e8
1 changed files with 30 additions and 0 deletions
30
projects/github.com/Cyan4973/xxHash/package.yml
Normal file
30
projects/github.com/Cyan4973/xxHash/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
distributable:
|
||||
url: https://github.com/Cyan4973/xxHash/archive/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: Cyan4973/xxHash
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
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}}
|
Loading…
Reference in a new issue