pantry/projects/github.com/redis/hiredis/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

27 lines
546 B
YAML

distributable:
url: https://github.com/redis/hiredis/archive/v{{version}}.tar.gz
strip-components: 1
display-name: hiredis
versions:
github: redis/hiredis
build:
dependencies:
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}}