wok-next annotate python-antlr/receipt @ rev 20737
libav: fix build; python-antlr: using pip; python-apsw: up (3.19.3-r1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 20:37:22 2018 +0300 (2018-05-29) |
parents | 8cad5edc1a45 |
children | 4e6503d7a19f |
rev | line source |
---|---|
al@19763 | 1 # SliTaz package receipt v2. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-antlr" |
al@20737 | 4 VERSION="latest" |
pascal@11727 | 5 CATEGORY="development" |
al@19763 | 6 SHORT_DESC="Language tool for constructing recognizers, compilers for Python" |
pascal@11727 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
pascal@11727 | 9 WEB_SITE="http://www.antlr.org/" |
al@19763 | 10 |
al@19763 | 11 BUILD_DEPENDS="python" |
pascal@11727 | 12 |
al@20737 | 13 compile_rules() { |
al@20737 | 14 pip install --no-compile --root=$DESTDIR antlr4-python2-runtime |
pascal@11727 | 15 } |
pascal@11727 | 16 |
al@20737 | 17 genpkg_rules() { |
al@20737 | 18 VERSION=$(sed -n '/^Successfully installed/ s|.*antlr4-python2-runtime-||p' $LOGS/$PACKAGE.log) |
al@19763 | 19 copy @std |
al@19763 | 20 DEPENDS="python" |
pascal@11727 | 21 } |