blob: 1b8eb368c2936d3b7b0afaee86a873911cdcd325 [file] [log] [blame]
Alexandre Belloni8dfd59d2013-06-05 23:53:30 +00001################################################################################
Nigel Kukard59a9c022008-04-12 09:56:15 +00002#
3# neon
4#
Alexandre Belloni8dfd59d2013-06-05 23:53:30 +00005################################################################################
Alexandre Belloni70270402013-06-05 23:53:25 +00006
Gustavo Zacarias98d929a2016-10-02 09:07:52 -03007NEON_VERSION = 0.30.2
Jerzy Grzegorekc7f4b962014-07-31 10:46:58 +02008NEON_SITE = http://www.webdav.org/neon
Rahul Bedarkar9254f022017-03-30 19:13:37 +05309NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests)
Peter Korsgaardf8a6a1b2013-05-14 17:18:18 +020010NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020011NEON_INSTALL_STAGING = YES
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020012NEON_CONF_OPTS = --without-gssapi --disable-rpath
Thomas Petazzonia5ce8572013-02-07 12:35:05 +000013NEON_CONFIG_SCRIPTS = neon-config
Gustavo Zacarias019a5812012-10-22 15:47:52 +000014NEON_DEPENDENCIES = host-pkgconf
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020015
16ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020017NEON_CONF_OPTS += --with-zlib=$(STAGING_DIR)
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020018NEON_DEPENDENCIES += zlib
19else
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020020NEON_CONF_OPTS += --without-zlib
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020021endif
22
23ifeq ($(BR2_PACKAGE_NEON_SSL),y)
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020024NEON_CONF_OPTS += --with-ssl
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020025NEON_DEPENDENCIES += openssl
26else
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020027NEON_CONF_OPTS += --without-ssl
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020028endif
29
30ifeq ($(BR2_PACKAGE_NEON_EXPAT),y)
Yann E. MORIN9962fea2016-08-29 11:39:26 +020031NEON_CONF_OPTS += --with-expat=yes
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020032NEON_DEPENDENCIES += expat
33else
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020034NEON_CONF_OPTS += --with-expat=no
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020035endif
Peter Korsgaardfa62c2b2008-08-26 20:47:19 +000036
Peter Korsgaardac1d92c2008-12-08 08:15:27 +000037ifeq ($(BR2_PACKAGE_NEON_LIBXML2),y)
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020038NEON_CONF_OPTS += --with-libxml2=yes
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020039NEON_CONF_ENV += ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
40NEON_DEPENDENCIES += libxml2
Nigel Kukardcc6562f2008-12-31 18:22:43 +000041else
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020042NEON_CONF_OPTS += --with-libxml2=no
Peter Korsgaard95313e22008-08-26 20:47:12 +000043endif
Nigel Kukard59a9c022008-04-12 09:56:15 +000044
Thomas Petazzoni75734642013-09-01 15:54:51 +020045ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),)
Peter Korsgaard66e09ab2011-10-11 09:23:25 +020046# webdav needs xml support
Thomas De Schampheleireaaffd202014-09-27 21:32:44 +020047NEON_CONF_OPTS += --disable-webdav
Nigel Kukard9f962212009-08-05 12:11:08 +000048endif
49
Arnout Vandecappelle (Essensium/Mind)e1502eb2012-07-03 00:07:32 +020050$(eval $(autotools-package))