wok diff python-lxml/receipt @ rev 2425
x11vnc: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 11 11:38:18 2009 +0000 (2009-03-11) |
parents | |
children | 93b397dc8274 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-lxml/receipt Wed Mar 11 11:38:18 2009 +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 +