diff options
author | Guillaume GARDET <guillaume.gardet@oliseo.fr> | 2014-11-18 15:54:47 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-13 00:14:05 +0200 |
commit | ea443e624ccef4d17f88f52289c7d2154cf59495 (patch) | |
tree | b48fde63e261364d28e5d5715c1303326e1cccf3 | |
parent | 76d1c729f09db5ecc514ae0520f9a53c353e0401 (diff) | |
download | buildroot-ea443e624ccef4d17f88f52289c7d2154cf59495.tar.gz buildroot-ea443e624ccef4d17f88f52289c7d2154cf59495.zip |
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>
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/c-icap-modules/Config.in | 7 | ||||
-rw-r--r-- | package/c-icap-modules/c-icap-modules.mk | 32 |
3 files changed, 40 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index e1b81a9d24..9787521dec 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1163,6 +1163,7 @@ menu "Networking applications" source "package/bridge-utils/Config.in" source "package/bwm-ng/Config.in" source "package/c-icap/Config.in" + source "package/c-icap-modules/Config.in" source "package/can-utils/Config.in" source "package/chrony/Config.in" source "package/civetweb/Config.in" diff --git a/package/c-icap-modules/Config.in b/package/c-icap-modules/Config.in new file mode 100644 index 0000000000..616456b4dc --- /dev/null +++ b/package/c-icap-modules/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_C_ICAP_MODULES + bool "c-icap-modules" + depends on BR2_PACKAGE_C_ICAP + help + Additionals modules for c-icap server. + + http://c-icap.sourceforge.net/ diff --git a/package/c-icap-modules/c-icap-modules.mk b/package/c-icap-modules/c-icap-modules.mk new file mode 100644 index 0000000000..27c57e19e0 --- /dev/null +++ b/package/c-icap-modules/c-icap-modules.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# 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)) |