wok-6.x annotate childsplay/receipt @ rev 16570

Up: childsplay (2.6.1)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 18:33:57 2014 +0200 (2014-05-02)
parents 5286a067ac76
children 4ecb0bc1006f
rev   line source
claudinei@3340 1 # SliTaz package receipt.
claudinei@3340 2
claudinei@3340 3 PACKAGE="childsplay"
pankso@16570 4 VERSION="2.6.1"
claudinei@3340 5 CATEGORY="games"
claudinei@3340 6 SHORT_DESC="Python educational game."
claudinei@3340 7 MAINTAINER="claudinei@slitaz.org"
pascal@15022 8 LICENSE="GPL3"
claudinei@3340 9 TARBALL="$PACKAGE-$VERSION.tgz"
pankso@10834 10 WEB_SITE="http://www.schoolsplay.org/"
pankso@16570 11 WGET_URL="http://download.savannah.gnu.org/releases/childsplay/$TARBALL"
pankso@10834 12
claudinei@3857 13 DEPENDS="python pygtk python-pygame python-pysqlite python-sqlalchemy libogg"
jozee@4933 14
claudinei@3340 15 # Rules to configure and make the package.
claudinei@3340 16 compile_rules()
claudinei@3340 17 {
pankso@16570 18 mkdir -p ${DESTDIR}/usr/share/${PACKAGE}
pankso@16570 19 cp -a ${src}/* ${DESTDIR}/usr/share/${PACKAGE}
pankso@16570 20 mv ${DESTDIR}/usr/share/${PACKAGE}/locale ${DESTDIR}/usr/share
pankso@16570 21 rm -rf ${DESTDIR}/usr/share/${PACKAGE}/po
claudinei@3340 22 }
claudinei@3340 23
claudinei@3340 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3340 25 genpkg_rules()
claudinei@3340 26 {
pankso@16570 27 mkdir -p $fs/usr/games
pankso@16570 28 cp ${stuff}/${PACKAGE} $fs/usr/games
pankso@16570 29 cp -a ${install}/* ${fs}
claudinei@3340 30 }