# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="expat" PKG_VERSION="2.5.0" PKG_SHA256="ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe" PKG_LICENSE="OSS" PKG_SITE="https://libexpat.github.io" PKG_URL="https://github.com/libexpat/libexpat/releases/download/R_${PKG_VERSION//./_}/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_DEPENDS_HOST="toolchain:host" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="Expat is an XML parser library written in C." PKG_CMAKE_OPTS_TARGET="-DEXPAT_BUILD_DOCS=OFF \ -DEXPAT_BUILD_TOOLS=OFF \ -DEXPAT_BUILD_EXAMPLES=OFF \ -DEXPAT_BUILD_TESTS=OFF \ -DEXPAT_SHARED_LIBS=ON" PKG_CMAKE_OPTS_HOST="-DEXPAT_BUILD_DOCS=OFF \ -DEXPAT_BUILD_TOOLS=OFF \ -DEXPAT_BUILD_EXAMPLES=OFF \ -DEXPAT_BUILD_TESTS=OFF \ -DEXPAT_SHARED_LIBS=ON"