1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Ian Leonard b9821a561d textproc: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:34:17 +00:00

38 lines
1.4 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="libxslt"
PKG_VERSION="1.1.34"
PKG_SHA256="98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f"
PKG_LICENSE="MIT"
PKG_SITE="http://xmlsoft.org/xslt/"
PKG_URL="ftp://xmlsoft.org/libxml2/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="libxml2:host"
PKG_DEPENDS_TARGET="toolchain libxml2"
PKG_LONGDESC="A XSLT C library."
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_HOST=" ac_cv_header_ansidecl_h=no \
ac_cv_header_xlocale_h=no \
--enable-static \
--disable-shared \
--without-python \
--with-libxml-prefix=${TOOLCHAIN} \
--without-crypto"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_ansidecl_h=no \
ac_cv_header_xlocale_h=no \
--enable-static \
--disable-shared \
--without-python \
--with-libxml-prefix=${SYSROOT_PREFIX}/usr \
--without-crypto"
post_makeinstall_target() {
sed -e "s:\(['= ]\)/usr:\\1${SYSROOT_PREFIX}/usr:g" -i ${SYSROOT_PREFIX}/usr/bin/xslt-config
rm -rf ${INSTALL}/usr/bin/xsltproc
rm -rf ${INSTALL}/usr/lib/xsltConf.sh
}