Files
Arch-R/packages/textproc/libxslt/package.mk
T

56 lines
2.1 KiB
Makefile
Raw Normal View History

2012-05-10 12:13:58 +03:00
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
2016-01-02 17:29:56 +01:00
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
2012-05-10 12:13:58 +03:00
#
2013-12-21 21:51:48 +01:00
# OpenELEC is free software: you can redistribute it and/or modify
2012-05-10 12:13:58 +03:00
# it under the terms of the GNU General Public License as published by
2013-12-21 21:51:48 +01:00
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
2012-05-10 12:13:58 +03:00
#
2013-12-21 21:51:48 +01:00
# OpenELEC is distributed in the hope that it will be useful,
2012-05-10 12:13:58 +03:00
# but WITHOUT ANY WARRANTY; without even the implied warranty of
2013-12-21 21:51:48 +01:00
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2012-05-10 12:13:58 +03:00
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
2013-12-21 21:51:48 +01:00
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
2012-05-10 12:13:58 +03:00
################################################################################
PKG_NAME="libxslt"
2016-06-14 01:13:33 -07:00
PKG_VERSION="1.1.29"
2012-05-10 12:13:58 +03:00
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://xmlsoft.org/xslt/"
PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz"
2016-04-08 11:13:24 +02:00
PKG_DEPENDS_HOST="toolchain libxml2:host"
PKG_DEPENDS_TARGET="toolchain libxml2"
2012-05-10 12:13:58 +03:00
PKG_PRIORITY="optional"
PKG_SECTION="textproc"
PKG_SHORTDESC="libxslt"
PKG_LONGDESC="libxslt"
PKG_IS_ADDON="no"
2012-05-10 12:13:58 +03:00
PKG_AUTORECONF="yes"
2016-04-08 11:13:24 +02:00
PKG_CONFIGURE_OPTS_HOST=" ac_cv_header_ansidecl_h=no \
--enable-static \
--disable-shared \
--without-python \
--with-libxml-prefix=$ROOT/$TOOLCHAIN \
--without-crypto"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_ansidecl_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
}