################################################################################
#
# expat
#
################################################################################

EXPAT_VERSION = 2.8.4
EXPAT_SITE = https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$(EXPAT_VERSION))
EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz
EXPAT_INSTALL_STAGING = YES
EXPAT_LICENSE = MIT
EXPAT_LICENSE_FILES = COPYING
EXPAT_CPE_ID_VENDOR = libexpat_project
EXPAT_CPE_ID_PRODUCT = libexpat

EXPAT_CONF_OPTS = \
	--with-dev-urandom \
	--without-docbook \
	--without-examples \
	--without-tests \
	--without-xmlwf

HOST_EXPAT_CONF_OPTS = \
	--without-docbook \
	--without-examples \
	--without-tests

$(eval $(autotools-package))
$(eval $(host-autotools-package))
