wok-next view python-lxml/receipt @ rev 12270
Up: mpc-library (0.9)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 12 18:42:31 2012 +0200 (2012-04-12) |
parents | 51b12adbb100 |
children | 2a5cc8208d36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-lxml"
4 VERSION="2.3"
5 CATEGORY="development"
6 SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries.."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="lxml"
9 TARBALL="$SOURCE-$VERSION.tgz"
10 WEB_SITE="http://codespeak.net/lxml/"
11 WGET_URL="${WEB_SITE}${TARBALL}"
12 DEPENDS="python libxml2 libxslt zlib"
13 BUILD_DEPENDS="python libxml2 libxml2-dev libxslt libxslt-dev setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make && 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 }