2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-05-07 05:58:30 +02:00
|
|
|
#
|
|
|
|
# xerces
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2015-04-04 21:05:11 +02:00
|
|
|
XERCES_VERSION = 3.1.2
|
|
|
|
XERCES_SOURCE = xerces-c-$(XERCES_VERSION).tar.xz
|
2014-07-31 10:46:58 +02:00
|
|
|
XERCES_SITE = http://archive.apache.org/dist/xerces/c/3/sources
|
2014-05-06 17:42:44 +02:00
|
|
|
XERCES_LICENSE = Apache-2.0
|
|
|
|
XERCES_LICENSE_FILES = LICENSE
|
2011-03-02 08:50:58 +01:00
|
|
|
XERCES_MAKE = $(MAKE1)
|
|
|
|
XERCES_INSTALL_STAGING = YES
|
2015-01-15 08:21:39 +01:00
|
|
|
XERCES_CONF_OPTS = \
|
|
|
|
--disable-threads \
|
|
|
|
--with-gnu-ld
|
2011-03-02 08:50:58 +01:00
|
|
|
|
2014-11-20 17:02:08 +01:00
|
|
|
define XERCES_DISABLE_SAMPLES
|
|
|
|
$(SED) 's/ samples//' $(@D)/Makefile.in
|
|
|
|
endef
|
|
|
|
|
|
|
|
XERCES_POST_PATCH_HOOKS += XERCES_DISABLE_SAMPLES
|
|
|
|
|
2011-03-02 08:50:58 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
|
XERCES_CONF_ENV += LIBS=-liconv
|
|
|
|
XERCES_DEPENDENCIES += libiconv
|
2010-07-29 22:03:33 +02:00
|
|
|
endif
|
|
|
|
|
2011-03-02 11:56:03 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
2014-12-27 17:25:56 +01:00
|
|
|
XERCES_CONF_OPTS += --enable-netaccessor-curl --with-curl=$(STAGING_DIR)/usr/lib
|
2011-03-02 11:56:03 +01:00
|
|
|
XERCES_DEPENDENCIES += libcurl
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
XERCES_CONF_OPTS += --disable-network
|
2011-03-02 11:56:03 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|