28 lines
769 B
Bash
28 lines
769 B
Bash
# Template file for 'librdkafka'
|
|
pkgname=librdkafka
|
|
version=1.0.0
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr"
|
|
makedepends="zlib-devel libressl-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=b00a0d9f0e8c7ceb67b93b4ee67f3c68279a843a15bf4a6742eb64897519aa09
|
|
|
|
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
|
|
}
|