|
|
(4 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
|
|
#Install building tool: |
|
== Prerequisites == |
|
|
|
#:<pre>sudo apt-get install dpkg-dev</pre> |
|
#A PC running Debian |
|
|
|
#Install glob2 building dependencies: |
|
#All the data including |
|
|
|
#:sudo apt-get install debhelper quilt scons libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev libglu1-mesa-dev libvorbis-dev libspeex-dev libfreetype6-dev libboost-dev libboost-thread-dev libboost-date-time-dev libfribidi-dev portaudio19-dev libboost-math-dev |
|
#*sources ([[Mercurial]] or .tar.gz) |
|
|
|
#Get glob2 sources as it is suggested here [[Compiling#Sources_from_Mercurial]] |
|
#*grafix and sounds (syncdata) |
|
|
|
#Build a package: |
|
#*maps (syncmaps) |
|
|
|
#:<pre>cd glob2</pre> |
|
#*all that's necessary to build glob2 (make, libs, ...) |
|
|
|
#:<pre>dpkg-buildpackage -I.hg</pre> |
|
#*checkinstall (the piece of software that will actually make the .deb file |
|
|
|
|
|
== Procedure == |
|
|
procede like you wanted to install glob2 on the system: |
|
|
cd DirectoryYouDownloadedAndUnpackedGlob2 |
|
|
scons |
|
|
and now instead of ''sudo scons install'' do a |
|
|
sudo checkinstall -D |
|
|
Follow the instructions and please don't ignore lines like "can't find file ..." even as it might report to have finished successfully as this might imply you missed to do syncdata or thelike 9if you downloaded source from mercurial). |
|
|
Now if it finished well you will find a .deb suitable to be installed on systems like yours. |
|
|
|
|
|
|
|
[[Category:en]] |
|
[[Category:Developer Resources]] |
|
[[Category:Developer Resources]] |