wok view python-antlr/receipt @ rev 23696

Up libtcplay (3.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 27 09:29:39 2020 +0000 (2020-04-27)
parents 5d50a02468c7
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="python-antlr"
4 VERSION="3.5.2"
5 CATEGORY="development"
6 SHORT_DESC="Language tool for constructing recognizers, compilers for python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.antlr.org/"
11 SOURCE="antlr"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$SOURCE/${SOURCE}3/archive/$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev python-setuptools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/runtime/Python &&
22 python setup.py build &&
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }