wok-next annotate python-antlr/receipt @ rev 19972

Up copyq (3.1.1), qedit (2.8.1)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Oct 17 19:29:54 2017 +0200 (2017-10-17)
parents 16df76e1fc6a
children 7a27d976b7a5
rev   line source
al@19763 1 # SliTaz package receipt v2.
pascal@11727 2
pascal@11727 3 PACKAGE="python-antlr"
pascal@11727 4 VERSION="3.4"
pascal@11727 5 CATEGORY="development"
al@19763 6 SHORT_DESC="Language tool for constructing recognizers, compilers for Python"
pascal@11727 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 8 LICENSE="BSD"
pascal@11727 9 WEB_SITE="http://www.antlr.org/"
al@19763 10
al@19763 11 TARBALL="antlr-$VERSION.tar.gz"
pascal@11727 12 WGET_URL="${WEB_SITE}download/$TARBALL"
pascal@11727 13
al@19763 14 BUILD_DEPENDS="python"
pascal@11727 15
pascal@11727 16 # Rules to configure and make the package.
pascal@11727 17 compile_rules()
pascal@11727 18 {
pascal@11727 19 cd $src/runtime/Python
pascal@11727 20 python setup.py build
pascal@11727 21 python setup.py install --root=$DESTDIR
pascal@11727 22 }
pascal@11727 23
pascal@11727 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11727 25 genpkg_rules()
pascal@11727 26 {
al@19763 27 copy @std
al@19763 28 DEPENDS="python"
pascal@11727 29 }