2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-04-12 11:56:15 +02:00
|
|
|
#
|
|
|
|
# neon
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-10-05 11:35:53 +02:00
|
|
|
NEON_VERSION = 0.30.0
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_SITE = http://www.webdav.org/neon/
|
2013-03-24 09:19:26 +01:00
|
|
|
NEON_LICENSE = LGPLv2+ (library), GPLv2+ (manual and tests)
|
2013-05-14 17:18:18 +02:00
|
|
|
NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_INSTALL_STAGING = YES
|
|
|
|
NEON_CONF_OPT = --without-gssapi --disable-rpath
|
2013-02-07 13:35:05 +01:00
|
|
|
NEON_CONFIG_SCRIPTS = neon-config
|
2012-10-22 17:47:52 +02:00
|
|
|
NEON_DEPENDENCIES = host-pkgconf
|
2008-08-26 22:47:19 +02:00
|
|
|
|
2008-12-31 19:22:43 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_CONF_OPT += --with-zlib=$(STAGING_DIR)
|
|
|
|
NEON_DEPENDENCIES += zlib
|
2008-12-31 19:22:43 +01:00
|
|
|
else
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_CONF_OPT += --without-zlib
|
2008-12-31 19:22:43 +01:00
|
|
|
endif
|
2011-10-11 09:23:25 +02:00
|
|
|
|
2009-12-20 23:49:45 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_NEON_SSL),y)
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_CONF_OPT += --with-ssl
|
|
|
|
NEON_DEPENDENCIES += openssl
|
2009-12-20 23:49:45 +01:00
|
|
|
else
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_CONF_OPT += --without-ssl
|
2009-12-20 23:49:45 +01:00
|
|
|
endif
|
2011-10-11 09:23:25 +02:00
|
|
|
|
2008-12-08 09:15:27 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_NEON_EXPAT),y)
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_CONF_OPT += --with-expat=$(STAGING_DIR)/usr/lib/libexpat.la
|
|
|
|
NEON_DEPENDENCIES += expat
|
|
|
|
else
|
|
|
|
NEON_CONF_OPT += --with-expat=no
|
2008-08-26 22:47:12 +02:00
|
|
|
endif
|
2008-04-12 11:56:15 +02:00
|
|
|
|
2011-10-11 09:23:25 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_NEON_LIBXML2),y)
|
|
|
|
NEON_CONF_OPT += --with-libxml2=yes
|
|
|
|
NEON_CONF_ENV += ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
|
|
|
|
NEON_DEPENDENCIES += libxml2
|
2009-08-05 14:11:08 +02:00
|
|
|
else
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_CONF_OPT += --with-libxml2=no
|
|
|
|
endif
|
|
|
|
|
2013-09-01 15:54:51 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),)
|
2011-10-11 09:23:25 +02:00
|
|
|
# webdav needs xml support
|
|
|
|
NEON_CONF_OPT += --disable-webdav
|
2009-08-05 14:11:08 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|