wok-6.x annotate openttd-opengfx/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
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 } |