wok-6.x annotate libxslt/receipt @ rev 10625
wvstreams: fic build (CONFIGURE_ARGS must sometime go first) + fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 21:39:55 2011 +0200 (2011-05-26) |
parents | 02bbaa9d12ba |
children | 79091c9a2a84 |
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@9474 | 9 BUILD_DEPENDS="python" |
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 |
slaxemulator@9474 | 18 ./configure && |
pascal@2475 | 19 make && |
slaxemulator@9474 | 20 make install |
pankso@147 | 21 } |
pankso@147 | 22 |
pankso@147 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@147 | 24 genpkg_rules() |
pankso@147 | 25 { |
pankso@147 | 26 mkdir -p $fs/usr/lib/libxslt-plugins |
pankso@147 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@147 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@147 | 29 rm $fs/usr/bin/xslt-config |
pankso@147 | 30 } |