wok diff openttd/receipt @ rev 6181
Up: gnome-menus, gnome-menus-dev to2.30.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Sep 10 15:44:02 2010 +0000 (2010-09-10) |
parents | |
children | c9b78a2b9690 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openttd/receipt Fri Sep 10 15:44:02 2010 +0000 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openttd" 1.7 +VERSION="1.0.3" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="OpenTTD is a clone of Transport Tycoon Deluxe." 1.10 +DEPENDS="libsdl lzo zlib libpng" 1.11 +BUILD_DEPENDS="libsdl libsdl-dev lzo-dev zlib-dev libpng-dev" 1.12 +MAINTAINER="devl547@gmail.com" 1.13 +TARBALL="$PACKAGE-$VERSION-source.tar.bz2" 1.14 +WEB_SITE="http://www.openttd.org" 1.15 +WGET_URL="http://us.binaries.openttd.org/binaries/releases/$VERSION/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure \ 1.22 + --prefix-dir=/usr \ 1.23 + --binary-dir=/usr/games \ 1.24 + --man-dir=/usr/share/man \ 1.25 + --enable-strip \ 1.26 + --with-zlib \ 1.27 + --with-liblzo2 \ 1.28 + --with-png \ 1.29 + --with-sdl \ 1.30 + --without-freetype \ 1.31 + $CONFIGURE_ARGS && 1.32 + make 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications $fs/usr/share/games/openttd $fs/usr/games 1.39 + cp -a $src/bin/openttd $fs/usr/games 1.40 + cp -a $src/bin/ai $fs/usr/share/games/openttd 1.41 + cp -a $src/bin/data $fs/usr/share/games/openttd 1.42 + cp -a $src/bin/gm $fs/usr/share/games/openttd 1.43 + cp -a $src/bin/lang $fs/usr/share/games/openttd 1.44 + cp -a $src/bin/scripts $fs/usr/share/games/openttd 1.45 + cp $src/media/$PACKAGE.32.png $fs/usr/share/pixmaps 1.46 + cp $src/media/$PACKAGE.desktop $fs/usr/share/applications 1.47 +}