wok-current view openttd-opengfx/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
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 }