wok annotate libxslt-dev/receipt @ rev 8190

imported patch toolchain/gmp.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 4117abaa776a
children e21876763622
rev   line source
pankso@85 1 # SliTaz package receipt.
pankso@85 2
pankso@85 3 PACKAGE="libxslt-dev"
slaxemulator@6451 4 VERSION="1.1.26"
pankso@199 5 CATEGORY="development"
pankso@85 6 SHORT_DESC="XSLT devel files support for libxml2."
pankso@85 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@8029 8 DEPENDS="libxslt libgcrypt-dev libxml2-dev zlib-dev"
pankso@85 9 WANTED="libxslt"
pankso@85 10 WEB_SITE="http://xmlsoft.org/"
pankso@85 11
pankso@85 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@85 13 genpkg_rules()
pankso@85 14 {
pankso@85 15 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
pankso@85 16
pankso@85 17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
pankso@85 18 cp -a $_pkg/usr/lib/*.sh $fs/usr/lib
pankso@85 19 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pankso@85 20
pankso@85 21 cp $_pkg/usr/bin/xslt-config $fs/usr/bin
pankso@85 22 chmod +x $fs/usr/bin/*
pankso@85 23
pankso@85 24 # Python module
pascal@6594 25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pascal@6592 26 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
pankso@85 27
pankso@85 28 cp -a $_pkg/usr/include $fs/usr
pankso@85 29 cp -a $_pkg/usr/share/aclocal $fs/usr/share
pankso@85 30 }