wok-next view python-antlr/receipt @ rev 20853

Up xgalaga++; fix build: vzctl, vzquota, w3m
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 24 19:03:37 2018 +0300 (2018-06-24)
parents 8cad5edc1a45
children 4e6503d7a19f
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-antlr"
4 VERSION="latest"
5 CATEGORY="development"
6 SHORT_DESC="Language tool for constructing recognizers, compilers for Python"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.antlr.org/"
11 BUILD_DEPENDS="python"
13 compile_rules() {
14 pip install --no-compile --root=$DESTDIR antlr4-python2-runtime
15 }
17 genpkg_rules() {
18 VERSION=$(sed -n '/^Successfully installed/ s|.*antlr4-python2-runtime-||p' $LOGS/$PACKAGE.log)
19 copy @std
20 DEPENDS="python"
21 }