2014-04-04 20:22:53 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# znc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-05-06 11:29:03 +02:00
|
|
|
ZNC_VERSION = 1.7.0
|
2018-04-26 20:35:34 +02:00
|
|
|
ZNC_SITE = http://znc.in/releases/archive
|
2014-04-04 20:22:53 +02:00
|
|
|
ZNC_LICENSE = Apache-2.0
|
|
|
|
ZNC_LICENSE_FILES = LICENSE
|
2015-08-07 15:37:30 +02:00
|
|
|
ZNC_DEPENDENCIES = host-pkgconf
|
2014-09-27 21:32:44 +02:00
|
|
|
ZNC_CONF_OPTS = --disable-perl
|
2014-04-04 20:22:53 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ICU),y)
|
|
|
|
ZNC_DEPENDENCIES += icu
|
2015-08-07 15:37:30 +02:00
|
|
|
ZNC_CONF_OPTS += --enable-charset
|
2014-04-04 20:22:53 +02:00
|
|
|
else
|
2015-08-07 15:37:30 +02:00
|
|
|
ZNC_CONF_OPTS += --disable-charset
|
2014-04-04 20:22:53 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
ZNC_DEPENDENCIES += openssl
|
2014-09-27 21:32:44 +02:00
|
|
|
ZNC_CONF_OPTS += --enable-openssl
|
2014-04-04 20:22:53 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
ZNC_CONF_OPTS += --disable-openssl
|
2014-04-04 20:22:53 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
ZNC_DEPENDENCIES += zlib
|
2014-09-27 21:32:44 +02:00
|
|
|
ZNC_CONF_OPTS += --enable-zlib
|
2014-04-04 20:22:53 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
ZNC_CONF_OPTS += --disable-zlib
|
2014-04-04 20:22:53 +02:00
|
|
|
endif
|
|
|
|
|
2018-05-09 19:25:53 +02:00
|
|
|
# python support depends on icu
|
|
|
|
ifeq ($(BR2_PACKAGE_ICU)$(BR2_PACKAGE_PYTHON3),yy)
|
2014-04-04 20:22:53 +02:00
|
|
|
ZNC_DEPENDENCIES += python3 host-swig
|
2014-09-27 21:32:44 +02:00
|
|
|
ZNC_CONF_OPTS += --enable-python=python3
|
2014-04-04 20:22:53 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
ZNC_CONF_OPTS += --disable-python
|
2014-04-04 20:22:53 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|