wok-6.x view libxml2-python/receipt @ rev 8700

nagios: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 17 23:09:38 2011 +0100 (2011-02-17)
parents a714cd6d9d90
children 27727d07d680
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2-python"
4 VERSION="2.6.15"
5 CATEGORY="development"
6 SHORT_DESC="Libxml2 adapter for the Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://xmlsoft.org/"
10 WGET_URL="ftp://xmlsoft.org/libxml2/python/$TARBALL"
11 DEPENDS="python libxml2 libxslt"
12 BUILD_DEPENDS="python python-dev libxml2-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build &&
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $_pkg/usr $fs
26 }