wok-current annotate childsplay/receipt @ rev 23994
linld: no initrd fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 15 08:41:50 2020 +0000 (2020-12-15) |
parents | 4ecb0bc1006f |
children | 9af0e03b8ad0 |
rev | line source |
---|---|
claudinei@3340 | 1 # SliTaz package receipt. |
claudinei@3340 | 2 |
claudinei@3340 | 3 PACKAGE="childsplay" |
Hans-G?nter@22595 | 4 VERSION="3.4" |
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" |
Hans-G?nter@20786 | 9 WEB_SITE="http://www.schoolsplay.org/" |
Hans-G?nter@20786 | 10 |
claudinei@3340 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
Hans-G?nter@22595 | 12 WGET_URL="$SF_MIRROR/schoolsplay/$TARBALL" |
pankso@10834 | 13 |
Hans-G?nter@22595 | 14 DEPENDS="libogg pygtk python python-pygame python-pysqlite python-sqlalchemy" |
jozee@4933 | 15 |
claudinei@3340 | 16 # Rules to configure and make the package. |
claudinei@3340 | 17 compile_rules() |
claudinei@3340 | 18 { |
Hans-G?nter@22595 | 19 mkdir -p $DESTDIR/usr/share/$PACKAGE |
Hans-G?nter@22595 | 20 |
Hans-G?nter@22595 | 21 cp -a $src/* $DESTDIR/usr/share/$PACKAGE |
Hans-G?nter@22595 | 22 mv $DESTDIR/usr/share/$PACKAGE/locale \ |
Hans-G?nter@22595 | 23 $DESTDIR/usr/share |
Hans-G?nter@22595 | 24 rm -rf $DESTDIR/usr/share/$PACKAGE/po |
claudinei@3340 | 25 } |
claudinei@3340 | 26 |
claudinei@3340 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3340 | 28 genpkg_rules() |
claudinei@3340 | 29 { |
pankso@16570 | 30 mkdir -p $fs/usr/games |
Hans-G?nter@22595 | 31 |
Hans-G?nter@22595 | 32 cp $stuff/$PACKAGE $fs/usr/games |
Hans-G?nter@22595 | 33 cp -a $install/* $fs |
claudinei@3340 | 34 } |