wok-next annotate libxslt/receipt @ rev 8858

Fixed rsnapshot category.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 25 10:29:17 2011 +0000 (2011-02-25)
parents ed7be0cb5b81
children 02bbaa9d12ba
rev   line source
pankso@147 1 # SliTaz package receipt.
pankso@147 2
pankso@147 3 PACKAGE="libxslt"
slaxemulator@6451 4 VERSION="1.1.26"
pankso@211 5 CATEGORY="system-tools"
pankso@147 6 SHORT_DESC="XSLT support for libxml2."
pankso@147 7 MAINTAINER="pankso@slitaz.org"
pascal@2475 8 DEPENDS="libgcrypt libxml2 zlib"
slaxemulator@8029 9 BUILD_DEPENDS="libgcrypt-dev libxml2-dev zlib-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 \
pascal@2475 23 $CONFIGURE_ARGS &&
pascal@2475 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 }