То время, когда я хотел форкнуть INSTEAD, часть III.
Go to file
2009-11-24 08:01:53 +00:00
debian 1.0.2 2009-11-24 08:01:53 +00:00
desktop 1.0.2 2009-11-24 08:01:53 +00:00
doc 1.0.2 2009-11-24 08:01:53 +00:00
games going to i18 version without games 2009-11-20 08:39:10 +00:00
icon config.make fix 2009-11-08 14:33:23 +00:00
languages es.ini added 2009-11-19 18:29:14 +00:00
src box_norm fix 2009-11-24 07:48:47 +00:00
stead 1.0.2 2009-11-24 08:01:53 +00:00
themes i18n of themes 2009-11-20 08:32:19 +00:00
configure.bat 0.8.5 version 2009-08-26 05:25:53 +00:00
configure.sh cleanup in configure 2009-11-09 17:49:38 +00:00
Makefile going to i18 version without games 2009-11-20 08:39:10 +00:00
Makefile.windows Windows makefile fix 2009-11-16 17:36:42 +00:00
readme.txt 1.0.2 2009-11-24 08:01:53 +00:00
Rules.make.standalone 1.0.2 2009-11-24 08:01:53 +00:00
Rules.make.system 1.0.2 2009-11-24 08:01:53 +00:00
Rules.windows 1.0.2 2009-11-24 08:01:53 +00:00
sdl-instead first commit 2009-02-21 10:52:44 +00:00
setup.iss 1.0.2 2009-11-24 08:01:53 +00:00

INSTEAD 1.0.2
=============

WARNING! For successfull building you must install these development packages (names may vary in your distribution):

	sdl, sdl-mixer, sdl-image, sdl-ttf, lua5.1

0) Prepare for building
=======================

Unpack source package with this command:
	$ tar xzvf instead_<version>.tar.gz

Change current dir to project's build dir:
	$ cd instead-<version>

There are several ways to build package.

1) On Debian based systems you can build deb package
====================================================
	$ sudo apt-get install liblua5.1-dev libreadline-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libreadline5-dev
	$ apt-get install build-essential
	$ debuild
	$ cd ..
	$ sudo dpkg -i instead_<version>.deb		

2) On gentooo or arch linux 
===========================
Please copy-paste EBUILD (gentoo) or PKGBUILD (arch) from here: 
http://code.google.com/p/instead/wiki/

And, I think, you have enough skills to build package yourself. ;)

3) For other distributions 
==========================
You have a two choices:
	a) try run ./configure.sh and follow instructions
or
	b) do all things manually

4) Manual build
===============

To build game, that runs just from build dir use Rules.make.standalone
----------------------------------------------------------------------
	$ rm -f Rules.make
	$ ln -s Rules.make.standalone Rules.make
	$ make clean
	$ make

If build process has failed check Rules.make.standalone and make changes if needed.

	$ ./sdl-instead

To build game for system install
--------------------------------
	$ rm -f Rules.make
	$ ln -s Rules.make.system Rules.make
	$ make clean
	$ make

If build process has failed check Rules.make.system and make changes if needed.

	$ sudo make install

	$ sdl-instead

Enjoy.