f02d8c1b58
Increased minimum gcc version to 4.8 as mentioned in the Changelog: https://wiki.znc.in/ChangeLog/1.7.0 Removed all patches: - 0001 was applied upstream:483074cbf8
- 0002 is not needed anymore after upstream switched Csocket to a git submodule:9166e6ed40 (diff-8a725997e024d92d67b33a90cffb8342)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
43 lines
941 B
Makefile
43 lines
941 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
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
|
ZNC_DEPENDENCIES += python3 host-swig
|
|
ZNC_CONF_OPTS += --enable-python=python3
|
|
else
|
|
ZNC_CONF_OPTS += --disable-python
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|