diff options
author | Alyx <alyx@leuhta.com> | 2019-06-29 12:04:57 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-06-29 12:05:30 +0000 |
commit | c43ad2fa3543b7393400d77835097460abd19e86 (patch) | |
tree | 49d5a09e14412aaa69bd4b03d296cbf009bfdc9d /user/librdkafka/APKBUILD | |
parent | bba7e72b557e8c931e8f0c354610e6c1b7cb8317 (diff) | |
download | packages-c43ad2fa3543b7393400d77835097460abd19e86.tar.gz packages-c43ad2fa3543b7393400d77835097460abd19e86.tar.bz2 packages-c43ad2fa3543b7393400d77835097460abd19e86.tar.xz packages-c43ad2fa3543b7393400d77835097460abd19e86.zip |
user/librdkafka: new package
Diffstat (limited to 'user/librdkafka/APKBUILD')
-rw-r--r-- | user/librdkafka/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/librdkafka/APKBUILD b/user/librdkafka/APKBUILD new file mode 100644 index 000000000..c0f4a672e --- /dev/null +++ b/user/librdkafka/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Alyx Wolcott <alyx@leuhta.com> +# Maintainer: Alyx Wolcott <alyx@leuhta.com> +pkgname=librdkafka +pkgver=1.0.1 +pkgrel=0 +pkgdesc="The Apache Kafka C/C++ library" +url="https://github.com/edenhill/librdkafka" +arch="all" +license="BSD-2-Clause" +depends="" +makedepends="zlib-dev zstd-dev openssl-dev lz4-dev bsd-compat-headers cyrus-sasl-dev" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/edenhill/$pkgname/archive/v$pkgver.tar.gz" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="094599e974236814c03e688eaa5e39d817cca110ff691501826268c45653fcd6b21b60e741140a1f7ffccd49902247f08fcec82475be2e9f85feaa4340b32d4c librdkafka-1.0.1.tar.gz" |