wok-6.x annotate python-antlr/receipt @ rev 24124
updated transfig (3.2.5d -> 3.2.8b)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 06 10:26:09 2021 +0100 (2021-10-06) |
parents | f0e9218a6f96 |
children | c056636b8c7e |
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@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@11727 | 24 # Rules to configure and make the package. |
pascal@11727 | 25 compile_rules() |
pascal@11727 | 26 { |
Hans-G?nter@23465 | 27 cd $src/runtime/Python && |
Hans-G?nter@23465 | 28 python setup.py build && |
pascal@11727 | 29 python setup.py install --root=$DESTDIR |
pascal@11727 | 30 } |
pascal@11727 | 31 |
pascal@11727 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 33 genpkg_rules() |
pascal@11727 | 34 { |
pascal@11727 | 35 mkdir -p $fs/usr |
Hans-G?nter@23465 | 36 cp -a $install/usr/lib $fs/usr |
pascal@11727 | 37 } |