wok view libxslt/receipt @ rev 759

Up: tazpkg (2.1) with Tazpkgbox (GUI)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 09 17:37:37 2008 +0200 (2008-05-09)
parents 5e8be83697d9
children acceac334d59
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt"
4 VERSION="1.1.22"
5 CATEGORY="system-tools"
6 SHORT_DESC="XSLT support for libxml2."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="libxml2-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xmlsoft.org/XSLT/"
11 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/libxslt-plugins
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 rm $fs/usr/bin/xslt-config
34 strip -s $fs/usr/lib/* 2>/dev/null
35 strip -s $fs/usr/bin/* 2>/dev/null
36 }