wok rev 6551
Added warzone2100. A 3D realtime strategy game on a future Earth.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 07 12:28:16 2010 +0000 (2010-10-07) |
parents | 16bab9b1da6d |
children | ee22d3ede55a |
files | warzone2100/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/warzone2100/receipt Thu Oct 07 12:28:16 2010 +0000 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="warzone2100" 1.7 +VERSION="2.3.5" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="3D realtime strategy game on a future Earth" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="libsdl-net mesa openal jpeg libpng libvorbis libtheora libmad physfs quesoglc popt ttf-dejavu ttf-dejavu-extra" 1.12 +BUILD_DEPENDS="libsdl-dev libsdl-net-dev mesa-dev openal openal-dev jpeg-dev libpng-dev libogg-dev libvorbis-dev libtheora-dev libmad-dev physfs-dev quesoglc-dev popt-dev gawk bison flex zip unzip pkg-config zlib-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://wz2100.net/" 1.15 +WGET_URL="$SF_MIRROR/warzone2100/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=/usr \ 1.23 + --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share/pixmaps 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/usr/share/applications $fs/usr/share 1.35 + cp -a $_pkg/usr/share/icons/warzone2100.png $fs/usr/share/pixmaps 1.36 + cp -a $_pkg/usr/share/warzone2100 $fs/usr/share 1.37 +} 1.38 +