wok-6.x annotate libxslt/receipt @ rev 4892
Add: ncdu
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 06 18:10:38 2010 +0000 (2010-02-06) |
parents | a714cd6d9d90 |
children | ed7be0cb5b81 |
rev | line source |
---|---|
pankso@147 | 1 # SliTaz package receipt. |
pankso@147 | 2 |
pankso@147 | 3 PACKAGE="libxslt" |
pascal@3663 | 4 VERSION="1.1.24" |
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" |
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 \ |
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 } |