wok-6.x annotate python-ply/receipt @ rev 23861

xvkbd: fix fetch,compile,and genpkg
author Richard Dunbar <mojo@slitaz.org>
date Fri Jun 19 01:26:32 2020 -0400 (2020-06-19)
parents
children 1df6fa555414
rev   line source
Hans-G?nter@22535 1 # SliTaz package receipt.
Hans-G?nter@22535 2
Hans-G?nter@22535 3 PACKAGE="python-ply"
Hans-G?nter@22535 4 VERSION="3.11"
Hans-G?nter@22535 5 CATEGORY="development"
Hans-G?nter@22535 6 TAGS="python"
Hans-G?nter@22535 7 SHORT_DESC="lex and yacc implementation for Python."
Hans-G?nter@22535 8 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@22535 9 LICENSE="BSD"
Hans-G?nter@22535 10 WEB_SITE="https://pypi.org/project/ply/"
Hans-G?nter@22535 11
Hans-G?nter@22535 12 SOURCE="ply"
Hans-G?nter@22535 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@22535 14 WGET_URL="http://www.dabeaz.com/$SOURCE/$TARBALL"
Hans-G?nter@22535 15
Hans-G?nter@22535 16 DEPENDS="python"
Hans-G?nter@22535 17 BUILD_DEPENDS="python python-dev python-setuptools"
Hans-G?nter@22535 18
Hans-G?nter@22535 19 HOST_ARCH="i486 arm"
Hans-G?nter@22535 20
Hans-G?nter@22535 21 # Rules to configure and make the package.
Hans-G?nter@22535 22 compile_rules()
Hans-G?nter@22535 23 {
Hans-G?nter@22535 24 python setup.py install --root=$DESTDIR
Hans-G?nter@22535 25 }
Hans-G?nter@22535 26
Hans-G?nter@22535 27 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@22535 28 genpkg_rules()
Hans-G?nter@22535 29 {
Hans-G?nter@22535 30 cp -a $install/usr $fs
Hans-G?nter@22535 31 }