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

Up tazlito (487)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 11:07:16 2018 +0100 (2018-02-26)
parents 2696382c228e
children 2a0479881723
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
slaxemulator@10225 15 # Rules to configure and make the package.
slaxemulator@10225 16 compile_rules()
slaxemulator@10225 17 {
slaxemulator@10225 18 cd $src
slaxemulator@10225 19 }
slaxemulator@10225 20
slaxemulator@10225 21 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10225 22 genpkg_rules()
slaxemulator@10225 23 {
slaxemulator@10225 24 mkdir -p $fs/usr/share/games/openttd/data
slaxemulator@10225 25 cp $src/*.grf $fs/usr/share/games/openttd/data
slaxemulator@10225 26 cp $src/opengfx.obg $fs/usr/share/games/openttd/data
slaxemulator@10225 27 }