This file provides information on how to build and install Dune Legacy.

Prerequirements
---------------

- gcc or any other standard compliant C++ compiler
- autotools
- SDL 1.2
- SDL-mixer


Building
--------

Dune Legacy can read the needed data from different locations. If you want 
to keep everything in one directory you should use the first method. You also
may decide to install Dune Legacy on your system. The use the second method.

Method 1: Data read from local directory
----------------------------------------
Extract the Dune Legacy source code and run at the top level directory
the following command:

./buildlocal.sh

This will configure and build Dune Legacy and you will find afterwards
a "dunelegacy" binary in the top level directory. The data is read from
the data subdirectory. There you shoud copy all the PAK-files from Dune 2

Method 2: Install Dune Legacy on your system
--------------------------------------------
Extract the Dune Legacy source code and run at the top level directory
the following commands:

autoreconf --install
./configure
make
make install

You may decide to change configure's default prefix to something else, e.g.
./configure --prefix=/usr

