# Contributor: Bennett Goble # Maintainer: Bennett Goble pkgname=librdkafka pkgver=0.9.4 pkgrel=0 pkgdesc="The Apache Kafka C/C++ library" url="https://github.com/edenhill/librdkafka" arch="all" license="BSD" depends="" depends_dev="" makedepends="$depends_dev libressl-dev python2 zlib-dev bash" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/edenhill/$pkgname/archive/v$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" ./configure \ --prefix=/usr \ || return 1 } build() { cd "$_builddir" make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="054897d90131ba7d91f66e2929f19224ae96feabe1be69e93a87ad05864f4893aa56456c3c15a303826f0c519eab09c5cd6e0b34d76ae68db6060aa80e9bc8de librdkafka-0.9.4.tar.gz"