mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
8292f36145/NEWS
v2.12.4: Jan 15 2024
- parser: Fix regression parsing standalone declarations
- autotools: Readd --with-xptr-locs configuration option
- parser: Fix build --without-output
- parser: Don't grow or shrink pull parser memory buffers
- io: Fix memory lifetime issue with input buffers
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libxml2"
|
|
PKG_VERSION="2.12.4"
|
|
PKG_SHA256="cc6a1695c84f1f22ff227c0308a3e52fc2a74612b7ba38ade091b04a3ba8ed41"
|
|
PKG_LICENSE="MIT"
|
|
PKG_SITE="http://xmlsoft.org"
|
|
PKG_URL="https://gitlab.gnome.org/GNOME/${PKG_NAME}/-/archive/v${PKG_VERSION}/${PKG_NAME}-v${PKG_VERSION}.tar.bz2"
|
|
PKG_DEPENDS_HOST="zlib:host ninja:host Python3:host"
|
|
PKG_DEPENDS_TARGET="toolchain zlib"
|
|
PKG_LONGDESC="The libxml package contains an XML library, which allows you to manipulate XML files."
|
|
|
|
PKG_CMAKE_OPTS_ALL="-DBUILD_SHARED_LIBS=ON \
|
|
-DLIBXML2_WITH_LZMA=OFF \
|
|
-DLIBXML2_WITH_TESTS=OFF"
|
|
|
|
PKG_CMAKE_OPTS_HOST="${PKG_CMAKE_OPTS_ALL} \
|
|
-DLIBXML2_WITH_PYTHON=ON"
|
|
|
|
PKG_CMAKE_OPTS_TARGET="${PKG_CMAKE_OPTS_ALL} \
|
|
-DLIBXML2_WITH_PYTHON=OFF"
|
|
|
|
post_makeinstall_target() {
|
|
sed -e "s:\(['= ]\)/usr:\\1${SYSROOT_PREFIX}/usr:g" -i ${SYSROOT_PREFIX}/usr/bin/xml2-config
|
|
|
|
rm -rf ${INSTALL}/usr/bin
|
|
rm -rf ${INSTALL}/usr/lib/xml2Conf.sh
|
|
}
|