2008-04-12 11:56:15 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# neon
|
|
|
|
#
|
|
|
|
#############################################################
|
2011-10-11 13:52:10 +02:00
|
|
|
NEON_VERSION = 0.29.6
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_SITE = http://www.webdav.org/neon/
|
|
|
|
NEON_INSTALL_STAGING = YES
|
|
|
|
NEON_CONF_OPT = --without-gssapi --disable-rpath
|
2008-04-12 11:56:15 +02:00
|
|
|
|
2011-10-11 09:23:25 +02:00
|
|
|
NEON_DEPENDENCIES = host-pkg-config
|
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
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_NEON_NOXML),y)
|
|
|
|
# webdav needs xml support
|
|
|
|
NEON_CONF_OPT += --disable-webdav
|
2009-08-05 14:11:08 +02:00
|
|
|
endif
|
|
|
|
|
2010-12-22 18:22:02 +01:00
|
|
|
define NEON_REMOVE_CONFIG_SCRIPTS
|
|
|
|
$(RM) -f $(TARGET_DIR)/usr/bin/neon-config
|
|
|
|
endef
|
|
|
|
|
|
|
|
ifneq ($(BR2_HAVE_DEVFILES),y)
|
|
|
|
NEON_POST_INSTALL_TARGET_HOOKS += NEON_REMOVE_CONFIG_SCRIPTS
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|