1 ################################################################################
5 ################################################################################
8 XERCES_SOURCE
= xerces-c-
$(XERCES_VERSION
).
tar.xz
9 XERCES_SITE
= http
://archive.apache.org
/dist/xerces
/c
/3/sources
10 XERCES_LICENSE
= Apache-2.0
11 XERCES_LICENSE_FILES
= LICENSE
12 XERCES_INSTALL_STAGING
= YES
17 define XERCES_DISABLE_SAMPLES
18 $(SED
) 's/ samples//' $(@D
)/Makefile.in
21 XERCES_POST_PATCH_HOOKS
+= XERCES_DISABLE_SAMPLES
23 ifeq ($(BR2_PACKAGE_ICU
),y
)
24 XERCES_CONF_OPTS
+= --with-icu
=$(STAGING_DIR
)/usr
25 XERCES_DEPENDENCIES
+= icu
27 XERCES_CONF_OPTS
+= --without-icu
30 ifeq ($(BR2_PACKAGE_LIBICONV
),y
)
31 XERCES_CONF_ENV
+= LIBS
=-liconv
32 XERCES_DEPENDENCIES
+= libiconv
35 ifeq ($(BR2_PACKAGE_LIBCURL
),y
)
36 XERCES_CONF_OPTS
+= --enable-netaccessor-curl
--with-curl
=$(STAGING_DIR
)/usr
/lib
37 XERCES_DEPENDENCIES
+= libcurl
39 XERCES_CONF_OPTS
+= --disable-network
42 $(eval
$(autotools-package
))