wok rev 22595

updated childsplay (3.3 -> 3.4)
author Hans-G?nter Theisgen
date Tue Jan 07 17:19:08 2020 +0100 (15 months ago)
parents a4aa1fff8555
children 18d5c324cc42
files childsplay/receipt
line diff
     1.1 --- a/childsplay/receipt	Tue Jan 07 17:05:46 2020 +0100
     1.2 +++ b/childsplay/receipt	Tue Jan 07 17:19:08 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="childsplay"
     1.7 -VERSION="3.3"
     1.8 +VERSION="3.4"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Python educational game."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -9,23 +9,26 @@
    1.13  WEB_SITE="http://www.schoolsplay.org/"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tgz"
    1.16 -WGET_URL="http://download.savannah.nongnu.org/releases/$PACKAGE/$TARBALL"
    1.17 +WGET_URL="$SF_MIRROR/schoolsplay/$TARBALL"
    1.18  
    1.19 -DEPENDS="python pygtk python-pygame python-pysqlite python-sqlalchemy libogg"
    1.20 +DEPENDS="libogg pygtk python python-pygame python-pysqlite python-sqlalchemy"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	mkdir -p ${DESTDIR}/usr/share/${PACKAGE}
    1.26 -	cp -a ${src}/* ${DESTDIR}/usr/share/${PACKAGE}
    1.27 -	mv ${DESTDIR}/usr/share/${PACKAGE}/locale ${DESTDIR}/usr/share
    1.28 -	rm -rf ${DESTDIR}/usr/share/${PACKAGE}/po
    1.29 +	mkdir -p $DESTDIR/usr/share/$PACKAGE
    1.30 +
    1.31 +	cp -a $src/*	$DESTDIR/usr/share/$PACKAGE
    1.32 +	mv $DESTDIR/usr/share/$PACKAGE/locale \
    1.33 +			$DESTDIR/usr/share
    1.34 +	rm -rf 		$DESTDIR/usr/share/$PACKAGE/po
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40  	mkdir -p $fs/usr/games
    1.41 -	cp ${stuff}/${PACKAGE} $fs/usr/games
    1.42 -	cp -a ${install}/* ${fs}
    1.43 +
    1.44 +	cp $stuff/$PACKAGE	$fs/usr/games
    1.45 +	cp -a $install/*	$fs
    1.46  }