wok-current annotate python-html5lib/receipt @ rev 15415
Up: thunderbird-langpack-en_GB (17.0.9esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 03 21:52:36 2013 +0100 (2013-11-03) |
parents | 28e39e49b41a |
children | 7d672a2330b8 |
rev | line source |
---|---|
claudinei@3391 | 1 # SliTaz package receipt. |
claudinei@3391 | 2 |
claudinei@3391 | 3 PACKAGE="python-html5lib" |
claudinei@14890 | 4 VERSION="0.95" |
claudinei@3391 | 5 CATEGORY="development" |
claudinei@14890 | 6 SHORT_DESC="Standarts-compliant library for parsing HTML documents in Python." |
claudinei@3391 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
claudinei@14890 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@14890 | 10 WEB_SITE="https://github.com/html5lib/html5lib-python" |
claudinei@14890 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@15379 | 12 |
claudinei@14890 | 13 DEPENDS="python python-six" |
claudinei@14890 | 14 BUILD_DEPENDS="python-dev setuptools wget" |
claudinei@3391 | 15 |
claudinei@3391 | 16 # Rules to configure and make the package. |
claudinei@3391 | 17 compile_rules() |
claudinei@3391 | 18 { |
claudinei@3391 | 19 cd $src |
claudinei@14890 | 20 python setup.py install --root=$DESTDIR |
claudinei@3391 | 21 } |
claudinei@3391 | 22 |
claudinei@3391 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3391 | 24 genpkg_rules() |
claudinei@3391 | 25 { |
claudinei@14890 | 26 cp -a $install/usr $fs |
claudinei@3391 | 27 } |