wok-current annotate libxslt/receipt @ rev 15969
openssl: up to 1.0.1f + add to ARM arch (almost rewrite receipt)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Feb 24 23:42:48 2014 +0100 (2014-02-24) |
parents | 09959b49f7da |
children | 010bb8c2c4ac |
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@15268 | 8 LICENSE="MIT" |
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@15969 | 12 HOST_ARCH="i486 arm" |
pankso@147 | 13 |
pascal@15268 | 14 DEPENDS="libgcrypt libxml2 zlib" |
pascal@15268 | 15 BUILD_DEPENDS="libgcrypt-dev libxml2-dev zlib-dev python-dev" |
pascal@15268 | 16 |
pankso@15969 | 17 case "$ARCH" in |
pankso@15969 | 18 arm) BUILD_DEPENDS="libxml2-dev" ;; |
pankso@15969 | 19 esac |
pankso@15969 | 20 |
pankso@147 | 21 # Rules to configure and make the package. |
pankso@147 | 22 compile_rules() |
pankso@147 | 23 { |
pankso@147 | 24 cd $src |
gokhlayeh@11573 | 25 ./configure $CONFIGURE_ARGS && |
pascal@2475 | 26 make && |
pascal@15268 | 27 make install 2>&1 | grep -v 'html/index.sgml' |
pankso@147 | 28 } |
pankso@147 | 29 |
pankso@147 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@147 | 31 genpkg_rules() |
pankso@147 | 32 { |
pankso@147 | 33 mkdir -p $fs/usr/lib/libxslt-plugins |
pascal@15268 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15268 | 35 cp -a $install/usr/bin $fs/usr |
pankso@147 | 36 rm $fs/usr/bin/xslt-config |
pankso@147 | 37 } |