aboutsummaryrefslogtreecommitdiffstats
path: root/community/librdkafka/APKBUILD
blob: 7a868291b4722520f6bbf89ac3b98abe368c45a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Bennett Goble <nivardus@gmail.com>
# Contributor: Mike Milner <milner@blissisland.ca>
# Maintainer: Bennett Goble <nivardus@gmail.com>
pkgname=librdkafka
pkgver=1.3.0
pkgrel=0
pkgdesc="The Apache Kafka C/C++ library"
url="https://github.com/edenhill/librdkafka"
arch="all"
license="BSD-2-Clause"
makedepends="bash openssl-dev cyrus-sasl-dev lz4-dev zlib-dev zstd-dev rapidjson-dev"
subpackages="$pkgname-static $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/edenhill/librdkafka/archive/v$pkgver.tar.gz"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="94b6202a83d54dfa181466a7ea4e0b492cd695e2bc08e7e46e60efb9c1dacc912fc891cb2bb50d189dc6d0fd6c7553266196dded460957ba0f569d3e08090669  librdkafka-1.3.0.tar.gz"