wok annotate python-antlr/receipt @ rev 23922
Add alieninvasion, spaceinvader, racer10k and javascript-racer
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 22 17:01:17 2020 +0000 (2020-08-22) |
parents | 5d50a02468c7 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-antlr" |
Hans-G?nter@23465 | 4 VERSION="3.5.2" |
pascal@11727 | 5 CATEGORY="development" |
Hans-G?nter@23465 | 6 SHORT_DESC="Language tool for constructing recognizers, compilers for python." |
pascal@11727 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
Hans-G?nter@23465 | 9 WEB_SITE="https://www.antlr.org/" |
Hans-G?nter@23465 | 10 |
Hans-G?nter@23465 | 11 SOURCE="antlr" |
pascal@11727 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23465 | 13 WGET_URL="https://github.com/$SOURCE/${SOURCE}3/archive/$VERSION.tar.gz" |
pascal@11727 | 14 |
pascal@11727 | 15 DEPENDS="python" |
pascal@21581 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@11727 | 17 |
pascal@11727 | 18 # Rules to configure and make the package. |
pascal@11727 | 19 compile_rules() |
pascal@11727 | 20 { |
Hans-G?nter@23465 | 21 cd $src/runtime/Python && |
Hans-G?nter@23465 | 22 python setup.py build && |
pascal@11727 | 23 python setup.py install --root=$DESTDIR |
pascal@11727 | 24 } |
pascal@11727 | 25 |
pascal@11727 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 27 genpkg_rules() |
pascal@11727 | 28 { |
pascal@11727 | 29 mkdir -p $fs/usr |
Hans-G?nter@23465 | 30 cp -a $install/usr/lib $fs/usr |
pascal@11727 | 31 } |