logrotate: enable selinux support
[buildroot-gz.git] / package / neon / neon.mk
blobca1a6bd87695eeeff9319b3b863f8a20b0832418
1 ################################################################################
3 # neon
5 ################################################################################
7 NEON_VERSION = 0.30.2
8 NEON_SITE = http://www.webdav.org/neon
9 NEON_LICENSE = LGPLv2+ (library), GPLv2+ (manual and tests)
10 NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README
11 NEON_INSTALL_STAGING = YES
12 NEON_CONF_OPTS = --without-gssapi --disable-rpath
13 NEON_CONFIG_SCRIPTS = neon-config
14 NEON_DEPENDENCIES = host-pkgconf
16 ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
17 NEON_CONF_OPTS += --with-zlib=$(STAGING_DIR)
18 NEON_DEPENDENCIES += zlib
19 else
20 NEON_CONF_OPTS += --without-zlib
21 endif
23 ifeq ($(BR2_PACKAGE_NEON_SSL),y)
24 NEON_CONF_OPTS += --with-ssl
25 NEON_DEPENDENCIES += openssl
26 else
27 NEON_CONF_OPTS += --without-ssl
28 endif
30 ifeq ($(BR2_PACKAGE_NEON_EXPAT),y)
31 NEON_CONF_OPTS += --with-expat=yes
32 NEON_DEPENDENCIES += expat
33 else
34 NEON_CONF_OPTS += --with-expat=no
35 endif
37 ifeq ($(BR2_PACKAGE_NEON_LIBXML2),y)
38 NEON_CONF_OPTS += --with-libxml2=yes
39 NEON_CONF_ENV += ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
40 NEON_DEPENDENCIES += libxml2
41 else
42 NEON_CONF_OPTS += --with-libxml2=no
43 endif
45 ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),)
46 # webdav needs xml support
47 NEON_CONF_OPTS += --disable-webdav
48 endif
50 $(eval $(autotools-package))