wok-current annotate python-antlr/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (3 days ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-antlr" |
Hans-G?nter@25164 | 4 VERSION="3.5.3" |
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@25164 | 27 cd runtime/Python && |
Hans-G?nter@25164 | 28 python setup.py build && |
Hans-G?nter@25164 | 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 { |
Hans-G?nter@25164 | 35 cook_copy_folders lib |
pascal@11727 | 36 } |