2014-04-04 20:22:53 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# znc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-04-08 16:33:17 +02:00
|
|
|
ZNC_VERSION = 1.6.5
|
2015-08-07 15:37:30 +02:00
|
|
|
ZNC_SITE = http://znc.in/releases
|
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
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
|
|
|
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))
|