void-packages/srcpkgs/librdkafka/template
2018-08-02 22:51:06 -03:00

28 lines
774 B
Bash

# Template file for 'librdkafka'
pkgname=librdkafka
version=0.11.5
revision=1
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=cc6ebbcd0a826eec1b8ce1f625ffe71b53ef3290f8192b6cae38412a958f4fd3
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
}