wok annotate diggerjs/receipt @ rev 13481

busybox: use slitaz-base httphelper.sh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 11 13:43:57 2012 +0200 (2012-10-11)
parents
children 10baa41a7882
rev   line source
pascal@9985 1 # SliTaz package receipt.
pascal@9985 2
pascal@9985 3 PACKAGE="diggerjs"
pascal@9985 4 VERSION="0.9.6"
pascal@9985 5 CATEGORY="games"
pascal@9985 6 SHORT_DESC="Javascript BoulerDash/Digger clone."
pascal@9985 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@9985 8 SOURCE="digger.js"
pascal@9985 9 TARBALL="$SOURCE-$VERSION.zip"
pascal@9985 10 WEB_SITE="http://www.heise.de/software/download/digger.js/8148"
pascal@9985 11 WGET_URL="http://www.tikkel.de/download/$TARBALL"
pascal@9985 12
pascal@9985 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9985 14 genpkg_rules()
pascal@9985 15 {
pascal@9985 16 mkdir -p $fs/usr/share/diggerjs
pascal@9985 17 cp -a $src/* $fs/usr/share/diggerjs
pascal@9985 18 cp -a stuff/* $fs
pascal@9985 19
pascal@9985 20 # translate
pascal@9985 21 sed -i 's/Daten werden geladen .*)/Loading graphics.../' \
pascal@9985 22 $fs/usr/share/diggerjs/*.*
pascal@9985 23
pascal@9985 24 # remove TODO stuff...
pascal@9985 25 sed -i '/HighScorefunktion programmieren/d' \
pascal@9985 26 $fs/usr/share/diggerjs/main.js
pascal@9985 27
pascal@9985 28 # remove java stuff...
pascal@9985 29 sed -i '/<applet/,/applet>/d' $fs/usr/share/diggerjs/*.html
pascal@9985 30 rm -f $fs/usr/share/diggerjs/SndServer.class
pascal@9985 31 rm -f $fs/usr/share/diggerjs/*/*.au
pascal@9985 32 }