wok-next rev 1626
Add python-lxml
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 23 20:21:55 2008 +0000 (2008-10-23) |
parents | 473dba2a800f |
children | 8e037d6c17d6 |
files | python-lxml/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-lxml/receipt Thu Oct 23 20:21:55 2008 +0000 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-lxml" 1.7 +VERSION="2.1.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries.." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="lxml" 1.12 +TARBALL="$SOURCE-$VERSION.tgz" 1.13 +WEB_SITE="http://codespeak.net/lxml/" 1.14 +WGET_URL="$WEB_SITE/$TARBALL" 1.15 +DEPENDS="python libxml2 libxslt" 1.16 +BUILD_DEPENDS="python libxml2 libxml2-dev libxslt libxslt-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + make && python setup.py install --root=$PWD/_pkg 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + cp -a $_pkg/usr $fs 1.29 +} 1.30 +