wok-current view python-antlr/receipt @ rev 21581
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:23:11 2019 +0200 (2019-05-19) |
parents | a78610b2eb47 |
children | f0e9218a6f96 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-antlr"
4 SOURCE="antlr"
5 VERSION="3.4"
6 CATEGORY="development"
7 SHORT_DESC="language tool for constructing recognizers, compilers for python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.antlr.org/"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/runtime/Python
21 python setup.py build
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }