summaryrefslogtreecommitdiff
path: root/repo/librdkafka/librdkafka.xibuild
blob: 74845fcd61ba09311aad6b8d9c08d84d0ac1147c (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.8.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
}