kumquat-buildroot/package/c-icap-modules/c-icap-modules.mk
Guillaume GARDET ea443e624c c-icap-modules: new package
[Thomas:
  - Do not pass custom CFLAGS and remove the hacks on the Makefile:
    since the c-icap-config script is now fixed, it returns correct
    values, and the hacks are no longer needed.
  - Add optional dependency on zlib and berkeleydb.
  - Explicitly disable clamav support.]

Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-13 00:14:05 +02:00

33 lines
902 B
Makefile

################################################################################
#
# c-icap-modules
#
################################################################################
C_ICAP_MODULES_VERSION = 0.3.2
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_LICENCE = GPLv2+
C_ICAP_MODULES_LICENCE_FILE = 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))