blob: 8af57f5ea38971dbee39c2a0a829ba3ac9615a2e (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.12 2020/05/27 19:37:39 wiz Exp $
DISTNAME= librdkafka-1.3.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=edenhill/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/edenhill/librdkafka
COMMENT= Apache Kafka C/C++ library
LICENSE= 2-clause-bsd
HAS_CONFIGURE= yes
USE_LANGUAGES= c c99 c++
USE_TOOLS+= bash gmake pkg-config
CONFIG_SHELL= bash
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --disable-gssapi
CONFIGURE_ARGS+= --disable-optimization
CONFIGURE_ARGS+= --enable-lz4
CONFIGURE_ARGS+= --enable-ssl
CONFIGURE_ARGS+= --enable-zstd
TEST_TARGET= check
PKGCONFIG_OVERRIDE+= src-cpp/rdkafka++-static.pc
PKGCONFIG_OVERRIDE+= src-cpp/rdkafka++.pc
PKGCONFIG_OVERRIDE+= src/rdkafka-static.pc
PKGCONFIG_OVERRIDE+= src/rdkafka.pc
PYTHON_FOR_BUILD_ONLY= yes
.include "../../archivers/lz4/buildlink3.mk"
.include "../../archivers/zstd/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|