Mercurial > fife-parpg
comparison ext/SConscript @ 89:fa33cda75471
* Reverting back to 2543 as requested by sleek
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 19 Jul 2008 11:38:52 +0000 |
parents | |
children | 64738befdf3b |
comparison
equal
deleted
inserted
replaced
88:1c2842ebe393 | 89:fa33cda75471 |
---|---|
1 import os, shutil | |
2 from utils.util_scripts.path import path | |
3 | |
4 Import('env') | |
5 | |
6 curpath = str(path('.')) | |
7 installpath = str((path('.') / path('install')).abspath()) | |
8 | |
9 print "======= FIFE EXTERNAL DEPENDENCY BUILD: GUICHAN =======" | |
10 os.chdir(str(path('.') / path('guichan-0.8.1'))) | |
11 os.system('./configure') | |
12 os.system('make') | |
13 os.system('make install prefix=%s' % installpath) | |
14 | |
15 print "======= FIFE EXTERNAL DEPENDENCY BUILD: LIBPNG =======" | |
16 os.chdir(str(path('..'))) | |
17 os.chdir(str(path('.') / path('libpng-1.2.29'))) | |
18 os.system('./configure') | |
19 os.system('make all-am') | |
20 os.system('make install prefix=%s' % installpath) | |
21 os.system('make install-data-hook prefix=%s' % installpath) | |
22 | |
23 print "======= FIFE EXTERNAL DEPENDENCY BUILD: OPENAL-SOFT =======" | |
24 os.chdir('..') | |
25 os.chdir(str(path('.') / path('openal-soft'))) | |
26 os.system('./configure') | |
27 os.system('make') | |
28 os.system('make install prefix=%s' % installpath) | |
29 | |
30 print "======= FIFE EXTERNAL DEPENDENCY BUILD: UNITTEST++ =======" | |
31 os.chdir('..') | |
32 os.chdir(str(path('.') / path('UnitTest++'))) | |
33 os.system('make') | |
34 shutil.copyfile('libUnitTest++.a', str(path(installpath) / path('lib') / path('libUnitTest++.a'))) | |
35 shutil.copyfile( | |
36 str(path('src') / path('UnitTest++.h')), | |
37 str(path(installpath) / path('include') / path('UnitTest++.h'))) | |
38 shutil.copyfile( | |
39 str(path('src') / path('TestReporterStdout.h')), | |
40 str(path(installpath) / path('include') / path('TestReporterStdout.h'))) | |
41 | |
42 print "======= FIFE EXTERNAL DEPENDENCY BUILD: ALL DONE ( CHECK LOG FOR POSSIBLE ERRORS ) =======" | |
43 | |
44 os.chdir(curpath) |