wok-6.x view childsplay/receipt @ rev 25004
updated ntfs-3g and ntfs-3g-dev (2017.3.23 -> 2021.8.22)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:20:40 2022 +0100 (2022-05-16) |
parents | 9af0e03b8ad0 |
children | ad0bc3efbf37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="childsplay"
4 VERSION="3.4"
5 CATEGORY="games"
6 SHORT_DESC="Python educational game."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://sourceforge.net/projects/schoolsplay/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$SF_MIRROR/schoolsplay/$TARBALL"
14 DEPENDS="libogg pygtk python python-pygame python-pysqlite python-sqlalchemy"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/schoolsplay/files 2>/dev/null | \
20 sed '/scope="row/!d;/tgz/!d;s|.*/childsplay-||;s|.tgz.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $DESTDIR/usr/share/$PACKAGE
28 cp -a $src/* $DESTDIR/usr/share/$PACKAGE
29 mv $DESTDIR/usr/share/$PACKAGE/locale \
30 $DESTDIR/usr/share
31 rm -rf $DESTDIR/usr/share/$PACKAGE/po
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/games
39 cp $stuff/$PACKAGE $fs/usr/games
40 cp -a $install/* $fs
41 }