summaryrefslogtreecommitdiff
path: root/package/znc/znc.mk
blob: 0844b0f1defe4f2dd0243d5b977baa192e399cf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
################################################################################
#
# znc
#
################################################################################

ZNC_VERSION = 1.6.2
ZNC_SITE = http://znc.in/releases
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))