SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pysolfc"

# SliTaz package receipt.

PACKAGE="pysolfc"
SOURCE="PySolFC"
VERSION="2.0"
CATEGORY="games"
SHORT_DESC="PySolFC is an extended version of PySol (a solitaire card game)"
MAINTAINER="claudinei@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://sourceforge.net/projects/pysolfc/"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="python tk"
BUILD_DEPENDS="$DEPENDS"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/pysolfc/files/PySolFC/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/PySolFC/PySolFC-||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --prefix=$install/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    find $install -type f -name "*.pyc" -delete 2>/dev/null
    cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)