void-packages/srcpkgs/librdkafka/template

29 lines
768 B
Bash

# Template file for 'librdkafka'
pkgname=librdkafka
version=1.4.4
revision=3
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=0984ffbe17b9e04599fb9eceb16cfa189f525a042bef02474cd1bbfe1ea68416
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
}