Alexandre Belloni | 8dfd59d | 2013-06-05 23:53:30 +0000 | [diff] [blame] | 1 | ################################################################################ |
Nigel Kukard | 59a9c02 | 2008-04-12 09:56:15 +0000 | [diff] [blame] | 2 | # |
| 3 | # neon |
| 4 | # |
Alexandre Belloni | 8dfd59d | 2013-06-05 23:53:30 +0000 | [diff] [blame] | 5 | ################################################################################ |
Alexandre Belloni | 7027040 | 2013-06-05 23:53:25 +0000 | [diff] [blame] | 6 | |
Gustavo Zacarias | 98d929a | 2016-10-02 09:07:52 -0300 | [diff] [blame] | 7 | NEON_VERSION = 0.30.2 |
Jerzy Grzegorek | c7f4b96 | 2014-07-31 10:46:58 +0200 | [diff] [blame] | 8 | NEON_SITE = http://www.webdav.org/neon |
Rahul Bedarkar | 9254f02 | 2017-03-30 19:13:37 +0530 | [diff] [blame] | 9 | NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests) |
Peter Korsgaard | f8a6a1b | 2013-05-14 17:18:18 +0200 | [diff] [blame] | 10 | NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 11 | NEON_INSTALL_STAGING = YES |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 12 | NEON_CONF_OPTS = --without-gssapi --disable-rpath |
Thomas Petazzoni | a5ce857 | 2013-02-07 12:35:05 +0000 | [diff] [blame] | 13 | NEON_CONFIG_SCRIPTS = neon-config |
Gustavo Zacarias | 019a581 | 2012-10-22 15:47:52 +0000 | [diff] [blame] | 14 | NEON_DEPENDENCIES = host-pkgconf |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 15 | |
| 16 | ifeq ($(BR2_PACKAGE_NEON_ZLIB),y) |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 17 | NEON_CONF_OPTS += --with-zlib=$(STAGING_DIR) |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 18 | NEON_DEPENDENCIES += zlib |
| 19 | else |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 20 | NEON_CONF_OPTS += --without-zlib |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 21 | endif |
| 22 | |
| 23 | ifeq ($(BR2_PACKAGE_NEON_SSL),y) |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 24 | NEON_CONF_OPTS += --with-ssl |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 25 | NEON_DEPENDENCIES += openssl |
| 26 | else |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 27 | NEON_CONF_OPTS += --without-ssl |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 28 | endif |
| 29 | |
| 30 | ifeq ($(BR2_PACKAGE_NEON_EXPAT),y) |
Yann E. MORIN | 9962fea | 2016-08-29 11:39:26 +0200 | [diff] [blame] | 31 | NEON_CONF_OPTS += --with-expat=yes |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 32 | NEON_DEPENDENCIES += expat |
| 33 | else |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 34 | NEON_CONF_OPTS += --with-expat=no |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 35 | endif |
Peter Korsgaard | fa62c2b | 2008-08-26 20:47:19 +0000 | [diff] [blame] | 36 | |
Peter Korsgaard | ac1d92c | 2008-12-08 08:15:27 +0000 | [diff] [blame] | 37 | ifeq ($(BR2_PACKAGE_NEON_LIBXML2),y) |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 38 | NEON_CONF_OPTS += --with-libxml2=yes |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 39 | NEON_CONF_ENV += ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config |
| 40 | NEON_DEPENDENCIES += libxml2 |
Nigel Kukard | cc6562f | 2008-12-31 18:22:43 +0000 | [diff] [blame] | 41 | else |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 42 | NEON_CONF_OPTS += --with-libxml2=no |
Peter Korsgaard | 95313e2 | 2008-08-26 20:47:12 +0000 | [diff] [blame] | 43 | endif |
Nigel Kukard | 59a9c02 | 2008-04-12 09:56:15 +0000 | [diff] [blame] | 44 | |
Thomas Petazzoni | 7573464 | 2013-09-01 15:54:51 +0200 | [diff] [blame] | 45 | ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),) |
Peter Korsgaard | 66e09ab | 2011-10-11 09:23:25 +0200 | [diff] [blame] | 46 | # webdav needs xml support |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 47 | NEON_CONF_OPTS += --disable-webdav |
Nigel Kukard | 9f96221 | 2009-08-05 12:11:08 +0000 | [diff] [blame] | 48 | endif |
| 49 | |
Arnout Vandecappelle (Essensium/Mind) | e1502eb | 2012-07-03 00:07:32 +0200 | [diff] [blame] | 50 | $(eval $(autotools-package)) |