the "stable" ubuntu-package for warzone2100 is version 1.x to 2.0, thats too "old", and i didn't want to download the stable 2.2 release. so i read the compilation guide and made a bash script (linux), which automatically checks the trunk out to "~/warzone", installs dependencies (apt-get, for ubuntu) and runs "autogen&&configure&&make". then it tells the user that he could install using "sudo make install", but i never do that, because i want to be able to update/customize without reinstalling.
Because the script lets u always install the newest version of warzone (because of using the svn trunk) with ONE command, i decided to publish it here.
Code: Select all
#!/bin/bash
echo creating ~/warzone
cd ~
mkdir warzone
cd warzone
echo installing libs
sudo apt-get install subversion build-essential automake flex bison \
libpopt-dev libpng12-dev libsdl1.2-dev libsdl-net1.2-dev \
libopenal-dev libphysfs-dev libvorbis-dev libtheora-dev libglc-dev \
libsqlite3-dev libglc-dev
echo downloading trunk
svn co https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk .
echo "autogen&&configure"
./autogen.sh
./configure
echo running make
make
echo DONE!
echo run the following command for a system-wide install:
echo sudo make install
when it finished (on my notebook after 1-2hours) it will say "DONE!" and tell u the command for systemwide install ("sudo make install"), but you only need to install if you want to run it for multiple users. if you don't install, just run "./warzone" to start the game.
i hope this can help you installing the trunk easier.