wok view libxml2-python/receipt @ rev 5093

improve rp-pppoe receipt
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 15 14:12:19 2010 +0000 (2010-03-15)
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 }