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
|
|
|
|
2016-10-02 14:07:52 +02:00
|
|
|
NEON_VERSION = 0.30.2
|
2014-07-31 10:46:58 +02:00
|
|
|
NEON_SITE = http://www.webdav.org/neon
|
2017-03-30 15:43:37 +02:00
|
|
|
NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (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
|
2014-09-27 21:32:44 +02:00
|
|
|
NEON_CONF_OPTS = --without-gssapi --disable-rpath
|
2013-02-07 13:35:05 +01:00
|
|
|
NEON_CONFIG_SCRIPTS = neon-config
|
2019-04-22 11:16:51 +02:00
|
|
|
NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
NEON_CONF_ENV = ne_cv_libsfor_bindtextdomain=$(TARGET_NLS_LIBS)
|
2008-08-26 22:47:19 +02:00
|
|
|
|
2008-12-31 19:22:43 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
NEON_CONF_OPTS += --with-zlib=$(STAGING_DIR)
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_DEPENDENCIES += zlib
|
2008-12-31 19:22:43 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
NEON_CONF_OPTS += --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)
|
2014-09-27 21:32:44 +02:00
|
|
|
NEON_CONF_OPTS += --with-ssl
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_DEPENDENCIES += openssl
|
2009-12-20 23:49:45 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
NEON_CONF_OPTS += --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)
|
2016-08-29 11:39:26 +02:00
|
|
|
NEON_CONF_OPTS += --with-expat=yes
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_DEPENDENCIES += expat
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
NEON_CONF_OPTS += --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)
|
2014-09-27 21:32:44 +02:00
|
|
|
NEON_CONF_OPTS += --with-libxml2=yes
|
2011-10-11 09:23:25 +02:00
|
|
|
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
|
2014-09-27 21:32:44 +02:00
|
|
|
NEON_CONF_OPTS += --with-libxml2=no
|
2011-10-11 09:23:25 +02:00
|
|
|
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
|
2014-09-27 21:32:44 +02:00
|
|
|
NEON_CONF_OPTS += --disable-webdav
|
2009-08-05 14:11:08 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|