summaryrefslogtreecommitdiffstats
path: root/package/c-icap-modules/c-icap-modules.mk
blob: d75437898ce0522d62a9a0ed142cbe603c304ae3 (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
################################################################################
#
# c-icap-modules
#
################################################################################

C_ICAP_MODULES_VERSION = 0.4.5
C_ICAP_MODULES_SOURCE = c_icap_modules-$(C_ICAP_MODULES_VERSION).tar.gz
C_ICAP_MODULES_SITE = http://downloads.sourceforge.net/c-icap
C_ICAP_MODULES_LICENSE = GPL-2.0+
C_ICAP_MODULES_LICENSE_FILES = COPYING
C_ICAP_MODULES_DEPENDENCIES = c-icap

C_ICAP_MODULES_CONF_OPTS = \
	--with-c-icap=$(STAGING_DIR)/usr/ \
	--without-clamav

ifeq ($(BR2_PACKAGE_ZLIB),y)
C_ICAP_MODULES_CONF_OPTS += --with-zlib
C_ICAP_MODULES_DEPENDENCIES += zlib
else
C_ICAP_MODULES_CONF_OPTS += --without-zlib
endif

ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
C_ICAP_MODULES_CONF_OPTS += --with-bdb
C_ICAP_MODULES_DEPENDENCIES += berkeleydb
else
C_ICAP_MODULES_CONF_OPTS += --without-bdb
endif

$(eval $(autotools-package))
OpenPOWER on IntegriCloud