mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
39 lines
1.4 KiB
Makefile
39 lines
1.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
PKG_NAME="libxslt"
|
|
PKG_VERSION="1.1.29"
|
|
PKG_SHA256="b5976e3857837e7617b29f2249ebb5eeac34e249208d31f1fbf7a6ba7a4090ce"
|
|
PKG_ARCH="any"
|
|
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_SECTION="textproc"
|
|
PKG_SHORTDESC="libxslt"
|
|
PKG_LONGDESC="libxslt"
|
|
|
|
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 "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/xslt-config
|
|
|
|
rm -rf $INSTALL/usr/bin/xsltproc
|
|
rm -rf $INSTALL/usr/lib/xsltConf.sh
|
|
}
|