wok-6.x view libxml2-python/receipt @ rev 3312
Edit: Nicotine+ genpkg_rules
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sat Jun 06 21:50:00 2009 +0000 (2009-06-06) |
parents | 3d99ecce2d4b |
children | c27f65372234 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2-python"
4 VERSION="2.6.9"
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 }