wok-6.x rev 6024
Add: openttd (1.0.3) and opengfx (0.2.4)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Aug 15 12:19:22 2010 +0000 (2010-08-15) |
parents | 45ba9f282361 |
children | 431c5cb9f855 |
files | opengfx/receipt openttd/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/opengfx/receipt Sun Aug 15 12:19:22 2010 +0000 1.3 @@ -0,0 +1,24 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="opengfx" 1.7 +VERSION="0.2.4" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="OpenGFX data files for OpenTTD." 1.10 +MAINTAINER="devl547@gmail.com" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://bundles.openttdcoop.org/opengfx/" 1.13 +WGET_URL="$WEB_SITE/releases/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 +} 1.20 + 1.21 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.22 +genpkg_rules() 1.23 +{ 1.24 + mkdir -p $fs/usr/share/games/openttd/data 1.25 + cp $src/*.grf $fs/usr/share/games/openttd/data 1.26 + cp $src/opengfx.obg $fs/usr/share/games/openttd/data 1.27 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/openttd/receipt Sun Aug 15 12:19:22 2010 +0000 2.3 @@ -0,0 +1,44 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="openttd" 2.7 +VERSION="1.0.3" 2.8 +CATEGORY="games" 2.9 +SHORT_DESC="OpenTTD is a clone of Transport Tycoon Deluxe." 2.10 +DEPENDS="libsdl lzo zlib libpng" 2.11 +BUILD_DEPENDS="libsdl libsdl-dev lzo-dev zlib-dev libpng-dev" 2.12 +MAINTAINER="devl547@gmail.com" 2.13 +TARBALL="$PACKAGE-$VERSION-source.tar.bz2" 2.14 +WEB_SITE="http://www.openttd.org" 2.15 +WGET_URL="http://us.binaries.openttd.org/binaries/releases/$VERSION/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure \ 2.22 + --prefix-dir=/usr \ 2.23 + --binary-dir=/usr/games \ 2.24 + --man-dir=/usr/share/man \ 2.25 + --enable-strip \ 2.26 + --with-zlib \ 2.27 + --with-liblzo2 \ 2.28 + --with-png \ 2.29 + --with-sdl \ 2.30 + --without-freetype \ 2.31 + $CONFIGURE_ARGS && 2.32 + make 2.33 +} 2.34 + 2.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.36 +genpkg_rules() 2.37 +{ 2.38 + mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications $fs/usr/share/games/openttd $fs/usr/games 2.39 + cp -a $src/bin/openttd $fs/usr/games 2.40 + cp -a $src/bin/ai $fs/usr/share/games/openttd 2.41 + cp -a $src/bin/data $fs/usr/share/games/openttd 2.42 + cp -a $src/bin/gm $fs/usr/share/games/openttd 2.43 + cp -a $src/bin/lang $fs/usr/share/games/openttd 2.44 + cp -a $src/bin/scripts $fs/usr/share/games/openttd 2.45 + cp $src/media/$PACKAGE.32.png $fs/usr/share/pixmaps 2.46 + cp $src/media/$PACKAGE.desktop $fs/usr/share/applications 2.47 +}