void-packages/srcpkgs/librdkafka/template

29 lines
774 B
Bash

# Template file for 'librdkafka'
pkgname=librdkafka
version=0.11.6
revision=2
build_style=configure
configure_args="--prefix=/usr"
makedepends="zlib-devel libressl-devel libsasl-devel"
short_desc="The 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=9c0afb8b53779d968225edf1e79da48a162895ad557900f75e7978f65e642032
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
}