summaryrefslogtreecommitdiff
path: root/repo/librdkafka/librdkafka.xibuild
blob: d41ff2eacc25a485259ea826e628d3fb650c9bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="librdkafka"
DESC="The Apache Kafka C/C++ library"

MAKEDEPS="bash openssl libsasl lz4 zlib zstd rapidjson"

PKG_VER=1.9.2
SOURCE="https://github.com/edenhill/librdkafka/archive/v$PKG_VER.tar.gz"

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

check() {
	make check
}

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