wok-4.x annotate libxslt/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | 79091c9a2a84 |
children |
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" |
erjo@11535 | 9 BUILD_DEPENDS="python-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 |
gokhlayeh@11573 | 18 ./configure $CONFIGURE_ARGS && |
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 } |