wok-next annotate libxslt/receipt @ rev 18270

Up tazpanel(522)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 07 02:40:28 2015 +0300 (2015-08-07)
parents e68abb67e0b5
children 35a20e111081
rev   line source
pankso@147 1 # SliTaz package receipt.
pankso@147 2
pankso@147 3 PACKAGE="libxslt"
slaxemulator@6451 4 VERSION="1.1.26"
pankso@211 5 CATEGORY="system-tools"
pankso@147 6 SHORT_DESC="XSLT support for libxml2."
pankso@147 7 MAINTAINER="pankso@slitaz.org"
pascal@15268 8 LICENSE="MIT"
pankso@147 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@147 10 WEB_SITE="http://www.xmlsoft.org/XSLT/"
pankso@147 11 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
pankso@16021 12 HOST_ARCH="i486 arm"
pankso@147 13
pankso@16021 14 DEPENDS="libgcrypt libgpg-error libxml2 zlib"
pankso@16021 15 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev \
pankso@16021 16 python-dev"
pascal@15268 17
pankso@16021 18 # Handle cross compilation
pankso@15969 19 case "$ARCH" in
pankso@16021 20 arm) BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev" ;;
pankso@15969 21 esac
pankso@15969 22
pankso@147 23 # Rules to configure and make the package.
pankso@147 24 compile_rules()
pankso@147 25 {
gokhlayeh@11573 26 ./configure $CONFIGURE_ARGS &&
pascal@2475 27 make &&
pascal@15268 28 make install 2>&1 | grep -v 'html/index.sgml'
pankso@147 29 }
pankso@147 30
pankso@147 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@147 32 genpkg_rules()
pankso@147 33 {
pankso@147 34 mkdir -p $fs/usr/lib/libxslt-plugins
pascal@15268 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15268 36 cp -a $install/usr/bin $fs/usr
pankso@147 37 rm $fs/usr/bin/xslt-config
pankso@147 38 }