wok-current annotate python-html5lib/receipt @ rev 14890
Up: python-html5lib (0.95)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Jul 24 19:03:10 2013 -0300 (2013-07-24) |
parents | ad73f7efcc3d |
children | 2a5cc8208d36 |
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" |
claudinei@14890 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@14890 | 9 WEB_SITE="https://github.com/html5lib/html5lib-python" |
claudinei@14890 | 10 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
claudinei@14890 | 11 DEPENDS="python python-six" |
claudinei@14890 | 12 BUILD_DEPENDS="python-dev setuptools wget" |
claudinei@3391 | 13 |
claudinei@3391 | 14 # Rules to configure and make the package. |
claudinei@3391 | 15 compile_rules() |
claudinei@3391 | 16 { |
claudinei@3391 | 17 cd $src |
claudinei@14890 | 18 python setup.py install --root=$DESTDIR |
claudinei@3391 | 19 } |
claudinei@3391 | 20 |
claudinei@3391 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3391 | 22 genpkg_rules() |
claudinei@3391 | 23 { |
claudinei@14890 | 24 cp -a $install/usr $fs |
claudinei@3391 | 25 } |