ncftp: bump version to 3.2.6
[buildroot-gz.git] / package / xerces / xerces.mk
bloba25641fb45f3f80bde42b38667d75f339e980fce
1 ################################################################################
3 # xerces
5 ################################################################################
7 XERCES_VERSION = 3.1.4
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
13 XERCES_CONF_OPTS = \
14 --disable-threads \
15 --with-gnu-ld
17 define XERCES_DISABLE_SAMPLES
18 $(SED) 's/ samples//' $(@D)/Makefile.in
19 endef
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
26 else
27 XERCES_CONF_OPTS += --without-icu
28 endif
30 ifeq ($(BR2_PACKAGE_LIBICONV),y)
31 XERCES_CONF_ENV += LIBS=-liconv
32 XERCES_DEPENDENCIES += libiconv
33 endif
35 ifeq ($(BR2_PACKAGE_LIBCURL),y)
36 XERCES_CONF_OPTS += --enable-netaccessor-curl --with-curl=$(STAGING_DIR)/usr/lib
37 XERCES_DEPENDENCIES += libcurl
38 else
39 XERCES_CONF_OPTS += --disable-network
40 endif
42 $(eval $(autotools-package))