wok view python-html5lib/receipt @ rev 3930

Update: binutils (toolprefixed binaries with default binutil symlinks; needed for builds expecting toolprefixed binutil binaries when a target platform [e.g. i486-pc-linux-gnu] is specified)
author Matthew Sheets <rcx@zoominternet.net>
date Wed Aug 19 16:02:07 2009 +0000 (2009-08-19)
parents d348790a08f3
children 28e39e49b41a
line source
1 # SliTaz package receipt.
3 PACKAGE="python-html5lib"
4 SOURCE="html5lib"
5 VERSION="0.11.1"
6 CATEGORY="development"
7 SHORT_DESC="A ruby/python based html parser/tokenizer."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.zip"
10 WEB_SITE="http://code.google.com/p/html5lib"
11 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr $fs
27 }
29 # Remove old package.
30 post_install()
31 {
32 rm -rf $1/var/lib/tazpkg/installed/html5lib
33 }