mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
Create package.yml
This commit is contained in:
parent
fa726a5a77
commit
3a5be66ab2
1 changed files with 28 additions and 0 deletions
28
projects/github.com/redis/hiredis/package.yml
Normal file
28
projects/github.com/redis/hiredis/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
distributable:
|
||||
url: https://github.com/redis/hiredis/archive/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
display-name: hiredis
|
||||
|
||||
versions:
|
||||
github: redis/hiredis
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
make install $ARGS
|
||||
|
||||
env:
|
||||
ARGS:
|
||||
- PREFIX="{{prefix}}"
|
||||
- INSTALL_INCLUDE_PATH="{{prefix}}/include"
|
||||
- INSTALL_LIBRARY_PATH="{{prefix}}/lib"
|
||||
- INSTALL_PKGCONF_PATH="{{prefix}}/lib/pkgconfig"
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
pkg-config --modversion hiredis | grep {{version}}
|
Loading…
Reference in a new issue