То время, когда я хотел форкнуть INSTEAD, часть III.
Go to file
2009-11-12 20:23:26 +00:00
debian changelog 2009-11-12 11:56:52 +00:00
desktop config.make fix 2009-11-08 14:33:23 +00:00
doc Makefile in doc fix 2009-11-12 15:20:13 +00:00
games config.make fix 2009-11-08 14:33:23 +00:00
icon config.make fix 2009-11-08 14:33:23 +00:00
languages config.make fix 2009-11-08 14:33:23 +00:00
src get rid of extra default-large theme, 800x600 is now default 2009-11-12 20:23:26 +00:00
stead snd player 2009-11-12 09:07:17 +00:00
themes get rid of extra default-large theme, 800x600 is now default 2009-11-12 20:23:26 +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 windowze people needs man too ;) instead.6 -> instead.txt while make tarball 2009-11-10 20:08:37 +00:00
Makefile.windows win file 2009-11-08 14:53:18 +00:00
readme.txt translations to configure and readme 2009-11-09 11:50:58 +00:00
Rules.make.standalone Fixes to makefiles 2009-11-09 08:43:41 +00:00
Rules.make.system Fixes to makefiles 2009-11-09 08:43:41 +00:00
Rules.windows fixes in makefiles 2009-11-09 09:08:04 +00:00
sdl-instead first commit 2009-02-21 10:52:44 +00:00
setup.iss fixes in makefiles 2009-11-09 09:08:04 +00:00

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 PKGBUILD or EBUILD 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:
	1) try run ./configure.sh and follow instructions
or
	2) 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
	Enjoy. 

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.