pantry/projects/github.com/confluentinc/librdkafka/package.yml
Jacob Heider 0771653400
fix(librdkafka) (#3829)
* fix(librdkafka)

* wip

* wip

* wip
2023-10-25 17:51:07 -04:00

37 lines
760 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
llvm.org: <17
gnu.org/make: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install
env:
CC: clang
CXX: clang++
LD: clang
AR: llvm-ar
AS: llvm-as
ARGS:
- --prefix="{{prefix}}"
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --modversion rdkafka | grep {{version}}