xref: /OK3568_Linux_fs/buildroot/package/neon/neon.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# neon
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunNEON_VERSION = 0.30.2
8*4882a593SmuzhiyunNEON_SITE = http://www.webdav.org/neon
9*4882a593SmuzhiyunNEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests)
10*4882a593SmuzhiyunNEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README
11*4882a593SmuzhiyunNEON_CPE_ID_VENDOR = webdav
12*4882a593SmuzhiyunNEON_INSTALL_STAGING = YES
13*4882a593SmuzhiyunNEON_CONF_OPTS = --without-gssapi --disable-rpath
14*4882a593SmuzhiyunNEON_CONFIG_SCRIPTS = neon-config
15*4882a593SmuzhiyunNEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES)
16*4882a593SmuzhiyunNEON_CONF_ENV = ne_cv_libsfor_bindtextdomain=$(TARGET_NLS_LIBS)
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
19*4882a593SmuzhiyunNEON_CONF_OPTS += --with-zlib=$(STAGING_DIR)
20*4882a593SmuzhiyunNEON_DEPENDENCIES += zlib
21*4882a593Smuzhiyunelse
22*4882a593SmuzhiyunNEON_CONF_OPTS += --without-zlib
23*4882a593Smuzhiyunendif
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_NEON_SSL),y)
26*4882a593SmuzhiyunNEON_CONF_OPTS += --with-ssl
27*4882a593SmuzhiyunNEON_DEPENDENCIES += openssl
28*4882a593Smuzhiyunelse
29*4882a593SmuzhiyunNEON_CONF_OPTS += --without-ssl
30*4882a593Smuzhiyunendif
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_NEON_EXPAT),y)
33*4882a593SmuzhiyunNEON_CONF_OPTS += --with-expat=yes
34*4882a593SmuzhiyunNEON_DEPENDENCIES += expat
35*4882a593Smuzhiyunelse
36*4882a593SmuzhiyunNEON_CONF_OPTS += --with-expat=no
37*4882a593Smuzhiyunendif
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_NEON_LIBXML2),y)
40*4882a593SmuzhiyunNEON_CONF_OPTS += --with-libxml2=yes
41*4882a593SmuzhiyunNEON_CONF_ENV += ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
42*4882a593SmuzhiyunNEON_DEPENDENCIES += libxml2
43*4882a593Smuzhiyunelse
44*4882a593SmuzhiyunNEON_CONF_OPTS += --with-libxml2=no
45*4882a593Smuzhiyunendif
46*4882a593Smuzhiyun
47*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),)
48*4882a593Smuzhiyun# webdav needs xml support
49*4882a593SmuzhiyunNEON_CONF_OPTS += --disable-webdav
50*4882a593Smuzhiyunendif
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun$(eval $(autotools-package))
53