kumquat-buildroot/package/znc/znc.mk
Bernd Kuhls 0f095a5318 package/znc: python support depends on icu
Upstream checks for icu when build with python support:
4fe4a45dd6

Fixes
http://autobuild.buildroot.net/results/9e4/9e44159820789f1d25efcbd24318b0e05e132371/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-05-13 21:46:41 +02:00

44 lines
992 B
Makefile

################################################################################
#
# znc
#
################################################################################
ZNC_VERSION = 1.7.0
ZNC_SITE = http://znc.in/releases/archive
ZNC_LICENSE = Apache-2.0
ZNC_LICENSE_FILES = LICENSE
ZNC_DEPENDENCIES = host-pkgconf
ZNC_CONF_OPTS = --disable-perl
ifeq ($(BR2_PACKAGE_ICU),y)
ZNC_DEPENDENCIES += icu
ZNC_CONF_OPTS += --enable-charset
else
ZNC_CONF_OPTS += --disable-charset
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ZNC_DEPENDENCIES += openssl
ZNC_CONF_OPTS += --enable-openssl
else
ZNC_CONF_OPTS += --disable-openssl
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
ZNC_DEPENDENCIES += zlib
ZNC_CONF_OPTS += --enable-zlib
else
ZNC_CONF_OPTS += --disable-zlib
endif
# python support depends on icu
ifeq ($(BR2_PACKAGE_ICU)$(BR2_PACKAGE_PYTHON3),yy)
ZNC_DEPENDENCIES += python3 host-swig
ZNC_CONF_OPTS += --enable-python=python3
else
ZNC_CONF_OPTS += --disable-python
endif
$(eval $(autotools-package))