wok-next annotate libxslt/receipt @ rev 2189

Add pure-ftpd-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 09 09:58:01 2009 +0000 (2009-02-09)
parents cf22fee17710
children a714cd6d9d90
rev   line source
pankso@147 1 # SliTaz package receipt.
pankso@147 2
pankso@147 3 PACKAGE="libxslt"
pankso@147 4 VERSION="1.1.22"
pankso@211 5 CATEGORY="system-tools"
pankso@147 6 SHORT_DESC="XSLT support for libxml2."
pankso@147 7 MAINTAINER="pankso@slitaz.org"
paul@1589 8 DEPENDS="libgcrypt"
pankso@147 9 BUILD_DEPENDS="libxml2-dev"
pankso@147 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@147 11 WEB_SITE="http://www.xmlsoft.org/XSLT/"
pankso@147 12 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
pankso@147 13
pankso@147 14 # Rules to configure and make the package.
pankso@147 15 compile_rules()
pankso@147 16 {
pankso@147 17 cd $src
pankso@147 18 ./configure \
pankso@147 19 --prefix=/usr \
pankso@147 20 --infodir=/usr/share/info \
pankso@147 21 --mandir=/usr/share/man \
pankso@147 22 --with-html-dir=/usr/share/doc \
pankso@147 23 $CONFIGURE_ARGS
pankso@147 24 make
pankso@147 25 make DESTDIR=$PWD/_pkg install
pankso@147 26 }
pankso@147 27
pankso@147 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@147 29 genpkg_rules()
pankso@147 30 {
pankso@147 31 mkdir -p $fs/usr/lib/libxslt-plugins
pankso@147 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@147 33 cp -a $_pkg/usr/bin $fs/usr
pankso@147 34 rm $fs/usr/bin/xslt-config
pankso@147 35 strip -s $fs/usr/lib/* 2>/dev/null
pankso@147 36 strip -s $fs/usr/bin/* 2>/dev/null
pankso@147 37 }