wok-6.x view libxslt/receipt @ rev 9294
Down erlang (R12B-5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 17 11:20:04 2011 +0100 (2011-03-17) |
parents | ed7be0cb5b81 |
children | 02bbaa9d12ba |
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 DEPENDS="libgcrypt libxml2 zlib"
9 BUILD_DEPENDS="libgcrypt-dev libxml2-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.xmlsoft.org/XSLT/"
12 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --with-html-dir=/usr/share/doc \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/libxslt-plugins
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 rm $fs/usr/bin/xslt-config
35 strip -s $fs/usr/lib/* 2>/dev/null
36 strip -s $fs/usr/bin/* 2>/dev/null
37 }