wok-6.x diff childsplay/receipt @ rev 22822

Add emu8051
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 12:27:36 2020 +0100 (2020-02-06)
parents 4ecb0bc1006f
children 9af0e03b8ad0
line diff
     1.1 --- a/childsplay/receipt	Thu Feb 14 15:34:29 2019 +0100
     1.2 +++ b/childsplay/receipt	Thu Feb 06 12:27:36 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  }