wok view childsplay/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (19 months ago)
parents eec3edc6ef52
children 69e1e705f038
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 }