Men Are Ants
Current stable version: 0.4 (P14)
Current developpement version: 0.5 (P15)

From the sources

Getting the sources

Tarball

Subversion

    $ svn co git://git.symlink.me/pub/menareants/0.4.git MenAreAnts

Compile and install

Forget sudo if you install it in a directory where you have the rights to, like your home directory.

    $ ./configure
    $ make
    $ sudo make install

You can use these options when using the configure script:

    --prefix=PREFIX         install architecture-independent files
                            in PREFIX [/usr/local]
    --enable-server         compilation of Men Are Ants' server
    --enable-meta-server    compilation of Men Are Ants' meta-server
    --disable-game          compilation without Men Are Ants' game
    --enable-warnings       enable warnings during compilation
                            (-Wall -Wextra -ansi and others...)
    --enable-debug          enable debug

Updating the sources

Use make udate rather than svn in order to, in addition of getting the latest version (unstable), refresh the ressource file list, and also recompile:

$ make update && sudo make install

Mac OS X

The game is compatible with Mac OS X (tested by Alexandre Pia with Mac OS X 10.4), who I thank for the adaptations he made to the sources and for the following explanations.

For your information, the procedure you have to follow to run the game with Mac OS X is not complex.

First you have to install MacPorts

Then, to install SDL, some of its libraries and subversion:

    $ sudo port install libsdl libsdl_image libsdl_gfx libsdl_mixer
    $ sudo port install subversion

Then, you have to download the Men Are Ants sources the way you want (see above).

Compile and Install (MacPorts puts its tree in /opt/local, and I put my own installations in /opt):

    $ cd MenAreAnts
    $ LIBS="-L/opt/local/lib" ./configure --prefix=/opt
    $ make
    $ sudo make install

Launch the game:

    $ /opt/bin/menareants

Gentoo

Available versions: svn (devel)
ebuild version: 2

Changelog:

Please read the HOWTO Installing 3rd Party Ebuilds and get menareants-ebuild.tar.bz2.

The ebuild is only for ~x86. You must unmask it in package.keywords, and set the optionnal USE flags in package.use:

For example, with the flagedit tool, to unmask the package and add debug option:

    # flagedit games-strategy/menareants-svn +debug -- +~x86

To install and to update the package, you just have to emerge this package (it isn't updated by emerge -u because it's a subversion ebuild).

    # emerge menareants-svn

Maintainer: pankkake

.
$Id: download.inc.php 209 2009-10-20 22:35:18Z root $