wok-next annotate libxslt/receipt @ rev 569
Up: libxml2 (2.6.32)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 14 15:06:52 2008 +0200 (2008-04-14) |
parents | 5e8be83697d9 |
children | acceac334d59 |
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" |
pankso@147 | 8 BUILD_DEPENDS="libxml2-dev" |
pankso@147 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@147 | 10 WEB_SITE="http://www.xmlsoft.org/XSLT/" |
pankso@147 | 11 WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL" |
pankso@147 | 12 |
pankso@147 | 13 # Rules to configure and make the package. |
pankso@147 | 14 compile_rules() |
pankso@147 | 15 { |
pankso@147 | 16 cd $src |
pankso@147 | 17 ./configure \ |
pankso@147 | 18 --prefix=/usr \ |
pankso@147 | 19 --infodir=/usr/share/info \ |
pankso@147 | 20 --mandir=/usr/share/man \ |
pankso@147 | 21 --with-html-dir=/usr/share/doc \ |
pankso@147 | 22 $CONFIGURE_ARGS |
pankso@147 | 23 make |
pankso@147 | 24 make DESTDIR=$PWD/_pkg install |
pankso@147 | 25 } |
pankso@147 | 26 |
pankso@147 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@147 | 28 genpkg_rules() |
pankso@147 | 29 { |
pankso@147 | 30 mkdir -p $fs/usr/lib/libxslt-plugins |
pankso@147 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@147 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@147 | 33 rm $fs/usr/bin/xslt-config |
pankso@147 | 34 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@147 | 35 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@147 | 36 } |