wok view pysolfc/receipt @ rev 25306
sip-4.19.25: last version for Python 2
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:39:41 2022 +0100 (2022-07-20) |
parents | 86790a278e70 |
children | 2d4208bebf51 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pysolfc"
4 SOURCE="PySolFC"
5 VERSION="2.0"
6 CATEGORY="games"
7 SHORT_DESC="PySolFC is an extended version of PySol (a solitaire card game)"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://sourceforge.net/projects/pysolfc"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="python tk"
15 BUILD_DEPENDS="$DEPENDS"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/pysolfc/files/PySolFC/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/PySolFC/PySolFC-||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --prefix=$install/usr
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 find $install -type f -name "*.pyc" -delete 2>/dev/null
35 cp -a $install/* $fs
36 }