wok-current rev 23465
updated python-antlr (3.4 -> 3.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 08:08:00 2020 +0100 (2020-04-05) |
parents | 99b982c720a7 |
children | 172ca2047cd7 |
files | python-antlr/receipt |
line diff
1.1 --- a/python-antlr/receipt Sat Apr 04 17:45:55 2020 +0100 1.2 +++ b/python-antlr/receipt Sun Apr 05 08:08:00 2020 +0100 1.3 @@ -1,15 +1,16 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-antlr" 1.7 -SOURCE="antlr" 1.8 -VERSION="3.4" 1.9 +VERSION="3.5.2" 1.10 CATEGORY="development" 1.11 -SHORT_DESC="language tool for constructing recognizers, compilers for python." 1.12 +SHORT_DESC="Language tool for constructing recognizers, compilers for python." 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="BSD" 1.15 +WEB_SITE="https://www.antlr.org/" 1.16 + 1.17 +SOURCE="antlr" 1.18 TARBALL="$SOURCE-$VERSION.tar.gz" 1.19 -WEB_SITE="https://www.antlr.org/" 1.20 -WGET_URL="${WEB_SITE}download/$TARBALL" 1.21 +WGET_URL="https://github.com/$SOURCE/${SOURCE}3/archive/$VERSION.tar.gz" 1.22 1.23 DEPENDS="python" 1.24 BUILD_DEPENDS="python python-dev python-setuptools" 1.25 @@ -17,8 +18,8 @@ 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - cd $src/runtime/Python 1.30 - python setup.py build 1.31 + cd $src/runtime/Python && 1.32 + python setup.py build && 1.33 python setup.py install --root=$DESTDIR 1.34 } 1.35 1.36 @@ -26,6 +27,5 @@ 1.37 genpkg_rules() 1.38 { 1.39 mkdir -p $fs/usr 1.40 - cp -a $install/usr/lib $fs/usr 1.41 + cp -a $install/usr/lib $fs/usr 1.42 } 1.43 -