То время, когда я хотел форкнуть INSTEAD, часть III.
Go to file
2010-09-10 10:06:30 +00:00
debian savevars optimization 2010-08-31 18:37:49 +00:00
desktop wince initial support 2010-09-10 10:06:30 +00:00
doc wince initial support 2010-09-10 10:06:30 +00:00
games tutorial quotes 2010-07-03 13:06:24 +00:00
icon mingw build added, 1.2 2010-06-01 13:41:56 +00:00
languages about fix 2010-07-09 09:29:46 +00:00
src wince initial support 2010-09-10 10:06:30 +00:00
stead wince initial support 2010-09-10 10:06:30 +00:00
themes clearlooks theme fix 2010-08-26 13:14:46 +00:00
configure-mingw32.sh build system fix 2010-06-01 18:56:51 +00:00
configure.bat 0.8.5 version 2009-08-26 05:25:53 +00:00
configure.sh build fix 2010-09-07 17:57:30 +00:00
Makefile Makefile fix 2010-06-08 12:04:01 +00:00
Makefile.mingw build system fix 2010-06-01 18:56:51 +00:00
Makefile.mingw32ce wince initial support 2010-09-10 10:06:30 +00:00
Makefile.windows win makefiles 2010-06-09 07:56:06 +00:00
PKGBUILD.in wince initial support 2010-09-10 10:06:30 +00:00
readme.txt wince initial support 2010-09-10 10:06:30 +00:00
Rules.make.macosx wince initial support 2010-09-10 10:06:30 +00:00
Rules.make.standalone wince initial support 2010-09-10 10:06:30 +00:00
Rules.make.system wince initial support 2010-09-10 10:06:30 +00:00
Rules.mingw wince initial support 2010-09-10 10:06:30 +00:00
Rules.windows wince initial support 2010-09-10 10:06:30 +00:00
sdl-instead first commit 2009-02-21 10:52:44 +00:00
setup-kit.iss wince initial support 2010-09-10 10:06:30 +00:00
setup.iss wince initial support 2010-09-10 10:06:30 +00:00
windows.tar.gz fixes in mingw build 2010-06-01 13:45:02 +00:00

INSTEAD 1.2.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
	$ sudo apt-get install build-essential debhelper
	$ debuild
	$ cd ..
	$ sudo dpkg -i instead_<version>.deb

2) On gentoo 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.