wok annotate python-antlr/receipt @ rev 22242
updated mesa packages (9.1.3 -> 9.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 15:21:11 2019 +0100 (2019-11-12) |
parents | a78610b2eb47 |
children | f0e9218a6f96 |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-antlr" |
pascal@11727 | 4 SOURCE="antlr" |
pascal@11727 | 5 VERSION="3.4" |
pascal@11727 | 6 CATEGORY="development" |
pascal@11727 | 7 SHORT_DESC="language tool for constructing recognizers, compilers for python." |
pascal@11727 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="BSD" |
pascal@11727 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20669 | 11 WEB_SITE="https://www.antlr.org/" |
pascal@11727 | 12 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@11727 | 13 |
pascal@11727 | 14 DEPENDS="python" |
pascal@21581 | 15 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@11727 | 16 |
pascal@11727 | 17 # Rules to configure and make the package. |
pascal@11727 | 18 compile_rules() |
pascal@11727 | 19 { |
pascal@11727 | 20 cd $src/runtime/Python |
pascal@11727 | 21 python setup.py build |
pascal@11727 | 22 python setup.py install --root=$DESTDIR |
pascal@11727 | 23 } |
pascal@11727 | 24 |
pascal@11727 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 26 genpkg_rules() |
pascal@11727 | 27 { |
pascal@11727 | 28 mkdir -p $fs/usr |
pascal@15378 | 29 cp -a $install/usr/lib $fs/usr |
pascal@11727 | 30 } |
al@18077 | 31 |