wok 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 | 341e72d2d146 |
children | c551e38d57d5 |
files | python-pysol-cards/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-pysol-cards/receipt Wed Apr 08 10:28:19 2020 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-pysol-cards" 1.7 +VERSION="0.8.9" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Deal PySol FreeCell cards." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://pypi.org/project/pysol-cards/" 1.13 + 1.14 +SOURCE="pysol_cards" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.17 + 1.18 +DEPENDS="python" 1.19 +BUILD_DEPENDS="python" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + python setup.py build && 1.25 + python setup.py install --root=$DESTDIR 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + cp -a $install/usr $fs/usr 1.32 +}