wok annotate python-antlr/receipt @ rev 13457

hostpad: add missing file
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Oct 07 23:49:54 2012 +0200 (2012-10-07)
parents
children fd4f1e692109
rev   line source
pascal@11727 1 # SliTaz package receipt.
pascal@11727 2
pascal@11727 3 PACKAGE="python-antlr"
pascal@11727 4 SOURCE="antlr"
pascal@11727 5 VERSION="3.4"
pascal@11727 6 CATEGORY="development"
pascal@11727 7 SHORT_DESC="language tool for constructing recognizers, compilers for python."
pascal@11727 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@11727 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@11727 10 WEB_SITE="http://www.antlr.org/"
pascal@11727 11 WGET_URL="${WEB_SITE}download/$TARBALL"
pascal@11727 12
pascal@11727 13 DEPENDS="python"
pascal@11727 14 BUILD_DEPENDS="python python-dev setuptools"
pascal@11727 15
pascal@11727 16 # Rules to configure and make the package.
pascal@11727 17 compile_rules()
pascal@11727 18 {
pascal@11727 19 cd $src/runtime/Python
pascal@11727 20 python setup.py build
pascal@11727 21 python setup.py install --root=$DESTDIR
pascal@11727 22 }
pascal@11727 23
pascal@11727 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11727 25 genpkg_rules()
pascal@11727 26 {
pascal@11727 27 mkdir -p $fs/usr
pascal@11727 28 cp -a $_pkg/usr/lib $fs/usr
pascal@11727 29 }