wok-current view openttd-opengfx/receipt @ rev 25694

Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 30 18:05:22 2024 +0000 (8 months ago)
parents 600aaedb561d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="openttd-opengfx"
4 VERSION="0.3.3"
5 CATEGORY="games"
6 SHORT_DESC="OpenGFX data files for OpenTTD."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 SOURCE="opengfx"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="http://bundles.openttdcoop.org/opengfx/"
12 WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
13 PROVIDE="opengfx"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/games/openttd/data
32 cp $src/*.grf $fs/usr/share/games/openttd/data
33 cp $src/opengfx.obg $fs/usr/share/games/openttd/data
34 }