wok-6.x annotate python-lxml/receipt @ rev 17448
Add Qcad 2D CAD application
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 14 10:13:18 2014 +0100 (2014-12-14) |
parents | 2a5cc8208d36 |
children | 4ca6eb8bdb8b |
rev | line source |
---|---|
pascal@1626 | 1 # SliTaz package receipt. |
pascal@1626 | 2 |
pascal@1626 | 3 PACKAGE="python-lxml" |
slaxemulator@8636 | 4 VERSION="2.3" |
pascal@1626 | 5 CATEGORY="development" |
pascal@1626 | 6 SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries.." |
pascal@1626 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15385 | 8 LICENSE="BSD GPL PSL" |
pascal@1626 | 9 SOURCE="lxml" |
pascal@1626 | 10 TARBALL="$SOURCE-$VERSION.tgz" |
pascal@1626 | 11 WEB_SITE="http://codespeak.net/lxml/" |
slaxemulator@8636 | 12 WGET_URL="${WEB_SITE}${TARBALL}" |
pascal@15379 | 13 |
pascal@2455 | 14 DEPENDS="python libxml2 libxslt zlib" |
slaxemulator@8457 | 15 BUILD_DEPENDS="python libxml2 libxml2-dev libxslt libxslt-dev setuptools" |
pascal@1626 | 16 |
pascal@1626 | 17 # Rules to configure and make the package. |
pascal@1626 | 18 compile_rules() |
pascal@1626 | 19 { |
pascal@1626 | 20 cd $src |
pascal@15379 | 21 make && python setup.py install --root=$DESTDIR |
pascal@1626 | 22 } |
pascal@1626 | 23 |
pascal@1626 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1626 | 25 genpkg_rules() |
pascal@1626 | 26 { |
pascal@15379 | 27 cp -a $install/usr $fs |
pascal@1626 | 28 } |
pascal@1626 | 29 |