wok-next view python-antlr/receipt @ rev 12521
Up: xorg-mkfontdir, xorg-setxkbmap, xorg-xauth, xorg-xclock, xorg-xcompmgr, xorg-xinput, xorg-xload + clean receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 00:15:23 2012 +0200 (2012-04-25) |
parents | |
children | fd4f1e692109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-antlr"
4 SOURCE="antlr"
5 VERSION="3.4"
6 CATEGORY="development"
7 SHORT_DESC="language tool for constructing recognizers, compilers for python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.antlr.org/"
11 WGET_URL="${WEB_SITE}download/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/runtime/Python
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }