void-packages/srcpkgs/librdkafka/template
2022-01-16 15:59:02 -03:00

28 lines
768 B
Bash

# Template file for 'librdkafka'
pkgname=librdkafka
version=1.8.2
revision=1
build_style=configure
configure_args="--prefix=/usr"
makedepends="zlib-devel openssl-devel libsasl-devel"
short_desc="Apache Kafka C/C++ library"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="BSD-2-Clause"
homepage="https://github.com/edenhill/librdkafka"
distfiles="https://github.com/edenhill/librdkafka/archive/v${version}.tar.gz"
checksum=6a747d293a7a4613bd2897e28e8791476fbe1ae7361f2530a876e0fd483482a6
librdkafka-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
post_install() {
vlicense LICENSES.txt
}