wok annotate python-html5lib/receipt @ rev 20142
linld: tiny shrink
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 11 10:57:19 2017 +0100 (2017-11-11) |
parents | 7d672a2330b8 |
children | 814362194a8d |
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" |
pankso@16477 | 12 HOST_ARCH="i486 arm" |
pascal@15379 | 13 |
claudinei@14890 | 14 DEPENDS="python python-six" |
claudinei@14890 | 15 BUILD_DEPENDS="python-dev setuptools wget" |
claudinei@3391 | 16 |
claudinei@3391 | 17 # Rules to configure and make the package. |
claudinei@3391 | 18 compile_rules() |
claudinei@3391 | 19 { |
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 } |