Build and installation instructions
===================================

Build-time requirements
-----------------------

* CMake >= 2.8.0 (http://www.cmake.org)
* Some C compiler (only tested with gcc)

Runtime requirements
--------------------

A standard C library implementation (including math functions).

Building
--------

To configure the package use:

 $ cmake .

or, if building in some other directory:

 $ cmake <top-level sources directory>

You can specify installation directories like this:

 $ cmake -DVAR1=VALUE1 -DVAR2=VALUE2 ...

If VALUE is a relative path, it is considered as relative to the prefix
directory (CMAKE_INSTALL_PREFIX).

The build system understands the following variables VARx:

 * CMAKE_INSTALL_PREFIX   Installation prefix (the default value is determined
                                               by CMake)
 * BINDIR_INSTALL         Where to put program executables (the default is bin)
 * DATADIR_INSTALL        Where to put shared data files (the default is
							  share/permafrost)

Then, build with:

 $ make

And install with:

 $ make install

The generated Makefile supports DESTDIR.
