wok-current annotate openttd-opengfx/receipt @ rev 25529

created recipe for neovim-0.8.3
author Hans-G?nter Theisgen
date Sat Feb 25 14:14:14 2023 +0100 (22 months ago)
parents 600aaedb561d
children
rev   line source
slaxemulator@10225 1 # SliTaz package receipt.
slaxemulator@10225 2
slaxemulator@10225 3 PACKAGE="openttd-opengfx"
slaxemulator@10225 4 VERSION="0.3.3"
slaxemulator@10225 5 CATEGORY="games"
slaxemulator@10225 6 SHORT_DESC="OpenGFX data files for OpenTTD."
slaxemulator@10225 7 MAINTAINER="devl547@gmail.com"
pascal@15590 8 LICENSE="GPL2"
slaxemulator@10225 9 SOURCE="opengfx"
slaxemulator@10225 10 TARBALL="$SOURCE-$VERSION.zip"
slaxemulator@10225 11 WEB_SITE="http://bundles.openttdcoop.org/opengfx/"
slaxemulator@10225 12 WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
slaxemulator@10225 13 PROVIDE="opengfx"
slaxemulator@10225 14
pascal@24436 15 # What is the latest version available today?
pascal@24436 16 current_version()
pascal@24436 17 {
pascal@24436 18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24436 19 sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | sort -Vr | sed q
pascal@24436 20 }
pascal@24436 21
slaxemulator@10225 22 # Rules to configure and make the package.
slaxemulator@10225 23 compile_rules()
slaxemulator@10225 24 {
slaxemulator@10225 25 cd $src
slaxemulator@10225 26 }
slaxemulator@10225 27
slaxemulator@10225 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10225 29 genpkg_rules()
slaxemulator@10225 30 {
slaxemulator@10225 31 mkdir -p $fs/usr/share/games/openttd/data
slaxemulator@10225 32 cp $src/*.grf $fs/usr/share/games/openttd/data
slaxemulator@10225 33 cp $src/opengfx.obg $fs/usr/share/games/openttd/data
slaxemulator@10225 34 }