wok-6.x view libxslt-dev/receipt @ rev 8695
improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:04:20 2011 +0100 (2011-02-17) |
parents | 4117abaa776a |
children | e21876763622 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt-dev"
4 VERSION="1.1.26"
5 CATEGORY="development"
6 SHORT_DESC="XSLT devel files support for libxml2."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libxslt libgcrypt-dev libxml2-dev zlib-dev"
9 WANTED="libxslt"
10 WEB_SITE="http://xmlsoft.org/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
18 cp -a $_pkg/usr/lib/*.sh $fs/usr/lib
19 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
21 cp $_pkg/usr/bin/xslt-config $fs/usr/bin
22 chmod +x $fs/usr/bin/*
24 # Python module
25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
26 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
28 cp -a $_pkg/usr/include $fs/usr
29 cp -a $_pkg/usr/share/aclocal $fs/usr/share
30 }