wok-6.x annotate p4wn/receipt @ rev 20279

8086tiny: fix DAA/DAS/shift opcodes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 23 13:08:29 2018 +0100 (2018-03-23)
parents ff54c8e52d6b
children 370da83187ab
rev   line source
pascal@7045 1 # SliTaz package receipt.
pascal@7045 2
pascal@7045 3 PACKAGE="p4wn"
pascal@7045 4 VERSION="1.0"
pascal@7045 5 CATEGORY="games"
pascal@7045 6 SHORT_DESC="Chess game in javascript"
pascal@7045 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15379 8 LICENSE="PublicDomain"
pascal@7045 9 WEB_SITE="http://p4wn.sourceforge.net/"
pascal@7045 10 TARBALL="sven_vehars_fancy_version.zip"
slaxemulator@8439 11 WGET_URL="$WEB_SITE/downloads/$TARBALL"
pascal@7045 12 # Rules to configure and make the package.
pascal@7045 13 compile_rules()
pascal@7045 14 {
pascal@7045 15 cd $src
pascal@7045 16 sed -i '/background-image/d' *.css
pascal@7045 17 sed -i 's|title>.*</title|title>Chess</title|' index.html
pascal@7045 18 }
pascal@7045 19
pascal@7045 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7045 21 genpkg_rules()
pascal@7045 22 {
samuel_trassare@12029 23 mkdir -p $fs/var/www/p4wn $fs/usr/share/applications \
samuel_trassare@12029 24 $fs/usr/share/pixmaps
pascal@7144 25 cp $src/* $fs/var/www/p4wn
pascal@7144 26 rm -f $fs/var/www/p4wn/README $fs/var/www/p4wn/*background.png
pascal@7144 27 chown -R 80.80 $fs/var/www/p4wn
pascal@7144 28 cat > $fs/usr/share/applications/p4wn.desktop <<EOT
pascal@7045 29 [Desktop Entry]
pascal@7045 30 Type=Application
pascal@7144 31 Name=p4wn (Chess)
slaxemulator@9600 32 Exec=browser file:///var/www/p4wn/index.html
samuel_trassare@12029 33 Icon=p4wn
pascal@7045 34 Terminal=false
pascal@7045 35 Categories=Game;
pascal@7045 36 Comment=Chess game
pascal@7045 37 EOT
pascal@7045 38 }
pascal@7045 39