pkgsrc/devel/librdkafka/Makefile
minskim 36940e615f devel/librdkafka: Update to 1.0.1
Notable changes in 1.0:
- Idempotent producer - guaranteed ordering, exactly-once producing.
- Sparse/on-demand connections - connections are no longer maintained
  to all brokers in the cluster.
- KIP-62 - max.poll.interval.ms for high-level consumers.
2019-07-10 01:31:21 +00:00

39 lines
1,019 B
Makefile

# $NetBSD: Makefile,v 1.9 2019/07/10 01:31:21 minskim Exp $
DISTNAME= librdkafka-1.0.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=edenhill/}
MAINTAINER= fhajny@NetBSD.org
HOMEPAGE= https://github.com/edenhill/librdkafka/
COMMENT= Apache Kafka C/C++ library
LICENSE= 2-clause-bsd
GITHUB_TAG= v${PKGVERSION_NOREV}
HAS_CONFIGURE= yes
USE_LANGUAGES= c c99 c++
USE_TOOLS+= bash gmake pkg-config
CONFIG_SHELL= bash
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --enable-lz4
CONFIGURE_ARGS+= --enable-ssl
CONFIGURE_ARGS+= --disable-sasl
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 "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"