aboutsummaryrefslogtreecommitdiffstats
path: root/testing/librdkafka
diff options
context:
space:
mode:
authorBennett Goble <nivardus@gmail.com>2016-06-15 22:01:12 -0700
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-07-07 11:38:04 +0200
commit3d831fc7c4bf04d33feeca7ed6ab6299a4ee0818 (patch)
treee0dbc424f3752bccb8bb5992d09e0420c31c0722 /testing/librdkafka
parentb7a5f2d1a071d7458fb6130e9bfb73ed61b23697 (diff)
downloadaports-3d831fc7c4bf04d33feeca7ed6ab6299a4ee0818.tar.bz2
aports-3d831fc7c4bf04d33feeca7ed6ab6299a4ee0818.tar.xz
testing/librdkafka: new aport
https://github.com/edenhill/librdkafka The Apache Kafka C/C++ library
Diffstat (limited to 'testing/librdkafka')
-rw-r--r--testing/librdkafka/APKBUILD37
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"