wok view racer10k/receipt @ rev 25567

use wxWidgets 2.8 for amule
author Hans-G?nter Theisgen
date Fri May 12 17:54:34 2023 +0100 (18 months ago)
parents 34e801e0eb52
children c470ca10c896
line source
1 # SliTaz package receipt.
3 PACKAGE="racer10k"
4 VERSION="1.0"
5 GITTAG="e21d88653bfb959e8865d08f01592f6b4fa17fa7"
6 CATEGORY="games"
7 SHORT_DESC="A tiny tux racer in html5"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/onaluf/RacerJS"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
13 HOST_ARCH="any"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
19 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/var/www/racer10k $fs/usr/share/applications
26 cp -a $src/* $fs/var/www/racer10k
27 chown -R 80.80 $fs/var/www/racer10k
28 cat > $fs/usr/share/applications/racer10k.desktop <<EOT
29 [Desktop Entry]
30 Type=Application
31 Name=racer
32 Exec=sh -c "url=file:///var/www/racer10k/racer.html; tazweb --notoolbar \$url || browser \$url"
33 Terminal=false
34 Categories=Game;
35 Icon=applications-games
36 EOT
37 }