wok-current view libxslt/receipt @ rev 15685

linux-lxc: add post_install() for update menu.lst
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:21:07 2013 +0100 (2013-12-21)
parents 210b7c05d288
children fd812ac90452
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt"
4 VERSION="1.1.26"
5 CATEGORY="system-tools"
6 SHORT_DESC="XSLT support for libxml2."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xmlsoft.org/XSLT/"
11 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
13 DEPENDS="libgcrypt libxml2 zlib"
14 BUILD_DEPENDS="libgcrypt-dev libxml2-dev zlib-dev python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 make install 2>&1 | grep -v 'html/index.sgml'
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/libxslt-plugins
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 rm $fs/usr/bin/xslt-config
32 }