wok annotate python-pysol-cards/receipt @ rev 23590
created recipe for python-pysol-cards
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 10:28:19 2020 +0100 (2020-04-08) |
parents | |
children | c551e38d57d5 |
rev | line source |
---|---|
Hans-G?nter@23590 | 1 # SliTaz package receipt. |
Hans-G?nter@23590 | 2 |
Hans-G?nter@23590 | 3 PACKAGE="python-pysol-cards" |
Hans-G?nter@23590 | 4 VERSION="0.8.9" |
Hans-G?nter@23590 | 5 CATEGORY="games" |
Hans-G?nter@23590 | 6 SHORT_DESC="Deal PySol FreeCell cards." |
Hans-G?nter@23590 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23590 | 8 LICENSE="MIT" |
Hans-G?nter@23590 | 9 WEB_SITE="https://pypi.org/project/pysol-cards/" |
Hans-G?nter@23590 | 10 |
Hans-G?nter@23590 | 11 SOURCE="pysol_cards" |
Hans-G?nter@23590 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23590 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
Hans-G?nter@23590 | 14 |
Hans-G?nter@23590 | 15 DEPENDS="python" |
Hans-G?nter@23590 | 16 BUILD_DEPENDS="python" |
Hans-G?nter@23590 | 17 |
Hans-G?nter@23590 | 18 # Rules to configure and make the package. |
Hans-G?nter@23590 | 19 compile_rules() |
Hans-G?nter@23590 | 20 { |
Hans-G?nter@23590 | 21 python setup.py build && |
Hans-G?nter@23590 | 22 python setup.py install --root=$DESTDIR |
Hans-G?nter@23590 | 23 } |
Hans-G?nter@23590 | 24 |
Hans-G?nter@23590 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23590 | 26 genpkg_rules() |
Hans-G?nter@23590 | 27 { |
Hans-G?nter@23590 | 28 cp -a $install/usr $fs/usr |
Hans-G?nter@23590 | 29 } |