wok view pysolfc/receipt @ rev 25778
Up fdutils (5.6), lite (1.11), vlgothic-fonts (20230918)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 20 09:06:10 2024 +0000 (2 months ago) |
parents | 2d4208bebf51 |
children |
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }