wok-6.x diff openttd-opengfx/receipt @ rev 12824

linux: add ARM patch, improve receipt
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 11:26:32 2012 +0200 (2012-05-22)
parents
children 600aaedb561d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openttd-opengfx/receipt	Tue May 22 11:26:32 2012 +0200
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openttd-opengfx"
     1.7 +VERSION="0.3.3"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="OpenGFX data files for OpenTTD."
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +SOURCE="opengfx"
    1.12 +TARBALL="$SOURCE-$VERSION.zip"
    1.13 +WEB_SITE="http://bundles.openttdcoop.org/opengfx/"
    1.14 +WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
    1.15 +PROVIDE="opengfx"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs/usr/share/games/openttd/data
    1.27 +	cp $src/*.grf $fs/usr/share/games/openttd/data
    1.28 +	cp $src/opengfx.obg $fs/usr/share/games/openttd/data
    1.29 +}