wok diff libxslt/receipt @ rev 169

Typo and deps for tcpdump
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 30 00:08:43 2008 +0100 (2008-01-30)
parents
children cf22fee17710
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libxslt/receipt	Wed Jan 30 00:08:43 2008 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libxslt"
     1.7 +VERSION="1.1.22"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="XSLT support for libxml2."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +BUILD_DEPENDS="libxml2-dev"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.xmlsoft.org/XSLT/"
    1.14 +WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure \
    1.21 +		--prefix=/usr \
    1.22 +		--infodir=/usr/share/info \
    1.23 +		--mandir=/usr/share/man \
    1.24 +		--with-html-dir=/usr/share/doc \
    1.25 +		$CONFIGURE_ARGS
    1.26 +	make
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib/libxslt-plugins
    1.34 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.35 +	cp -a $_pkg/usr/bin $fs/usr
    1.36 +	rm $fs/usr/bin/xslt-config
    1.37 +	strip -s $fs/usr/lib/* 2>/dev/null
    1.38 +	strip -s $fs/usr/bin/* 2>/dev/null
    1.39 +}