wok view childsplay/receipt @ rev 24748
cairo-gl: disabled trace
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 15:28:37 2022 +0000 (2022-03-16) |
parents | 34f14eb6c7bc |
children | eec3edc6ef52 |
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="http://www.schoolsplay.org/"
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 }