wok diff python-antlr/receipt @ rev 23971
Add ascii-patrol & pngnq-s9
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 08 16:37:16 2020 +0000 (2020-10-08) |
parents | 5d50a02468c7 |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/python-antlr/receipt Sun May 19 19:23:11 2019 +0200 1.2 +++ b/python-antlr/receipt Thu Oct 08 16:37:16 2020 +0000 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 -