diff options
Diffstat (limited to 'testing/librdkafka')
-rw-r--r-- | testing/librdkafka/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/librdkafka/APKBUILD b/testing/librdkafka/APKBUILD new file mode 100644 index 0000000000..a8e8a5cdc9 --- /dev/null +++ b/testing/librdkafka/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Bennett Goble <nivardus@gmail.com> +# Maintainer: Bennett Goble <nivardus@gmail.com> +pkgname=librdkafka +pkgver=0.9.1 +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 openssl-dev python zlib-dev" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/edenhill/$pkgname/archive/$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 +} + +md5sums="feb25faed02815f60ff363b2f40ba1b9 librdkafka-0.9.1.tar.gz" +sha256sums="5ad57e0c9a4ec8121e19f13f05bacc41556489dfe8f46ff509af567fdee98d82 librdkafka-0.9.1.tar.gz" +sha512sums="d2023cc6f976ad7440b25cffd1b59587f6497febd7ac1a6d76eb7799d294210f20170063fe25f2eb1eb3cc373df791526d1bc8d0ffbb0bef4519dae89b177147 librdkafka-0.9.1.tar.gz" |