diff --git a/projects/github.com/confluentinc/librdkafka/package.yml b/projects/github.com/confluentinc/librdkafka/package.yml new file mode 100644 index 00000000..eea6eace --- /dev/null +++ b/projects/github.com/confluentinc/librdkafka/package.yml @@ -0,0 +1,33 @@ +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: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + 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}}