# This file is part of MXE.
# See index.html for further information.
PKG := xerces
$(PKG)_IGNORE :=
$(PKG)_VERSION := 3.1.2
$(PKG)_CHECKSUM := 3f9ecc4956df069c1d95b885fc687eb4e474a4ad
$(PKG)_SUBDIR := xerces-c-$($(PKG)_VERSION)
$(PKG)_FILE := xerces-c-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://www.apache.org/dist/xerces/c/$(word 1,$(subst ., ,$($(PKG)_VERSION)))/sources/$($(PKG)_FILE)
$(PKG)_DEPS := gcc libiconv curl pthreads
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.apache.org/dist/xerces/c/3/sources/?C=M;O=D' | \
$(SED) -n 's,.*