wok-next annotate libxslt/receipt @ rev 173
Typo in glibmm-dev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 01 00:22:55 2008 +0100 (2008-02-01) |
parents | |
children | cf22fee17710 |
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@147 | 5 CATEGORY="extra" |
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 } |