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

32 lines
649 B
YAML

distributable:
url: https://github.com/confluentinc/librdkafka/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: confluentinc/librdkafka
dependencies:
lz4.org: '*'
zlib.net: '*'
openssl.org: '^1.1'
facebook.com/zstd: '*'
curl.se: '*'
build:
dependencies:
freedesktop.org/pkg-config: '*'
python.org: '^3.11'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion rdkafka | grep {{version}}