Skip to content

Commit

Permalink
Updated build system
Browse files Browse the repository at this point in the history
  • Loading branch information
bomberstudios committed Feb 7, 2011
1 parent 51dd3de commit a22926a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.mdown
Expand Up @@ -2,11 +2,11 @@


This is a fork of MTASC. The original version was built and maintained by Motion-Twin, but it is no longer updated due to Motion-Twin's new focus on haXe (http://haxe.org). The homepage for this fork is: This is a fork of MTASC. The original version was built and maintained by Motion-Twin, but it is no longer updated due to Motion-Twin's new focus on haXe (http://haxe.org). The homepage for this fork is:


https://sourceforge.net/projects/mtasc/ <https://sourceforge.net/projects/mtasc/>


The original Motion-Twin website is: The original Motion-Twin website is:


http://www.mtasc.org <http://www.mtasc.org>


MTASC is Licensed under the GNU General Public License (GPL) The compiler sources are available on the above websites. MTASC is Licensed under the GNU General Public License (GPL) The compiler sources are available on the above websites.


Expand Down
22 changes: 14 additions & 8 deletions Rakefile
Expand Up @@ -19,7 +19,9 @@ task :setup do
if File.exist? "/usr/local/bin/wget" if File.exist? "/usr/local/bin/wget"
puts "wget is already installed" puts "wget is already installed"
else else
system("curl -a -O http://ftp.gnu.org/gnu/wget/wget-1.11.4.tar.bz2") if !File.exist? "wget-1.11.4.tar.bz2"
system("curl -a -O http://ftp.gnu.org/gnu/wget/wget-1.11.4.tar.bz2")
end
system("bunzip2 wget-1.11.4.tar.bz2") system("bunzip2 wget-1.11.4.tar.bz2")
system("tar xf wget-1.11.4.tar") system("tar xf wget-1.11.4.tar")
Dir.chdir("wget-1.11.4") do Dir.chdir("wget-1.11.4") do
Expand All @@ -32,10 +34,12 @@ task :setup do
if File.exist? "/usr/local/bin/pcregrep" if File.exist? "/usr/local/bin/pcregrep"
puts "pcre is already installed" puts "pcre is already installed"
else else
system("curl -a -O ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2") if !File.exist? "pcre-8.10.tar.bz2"
system("bunzip2 pcre-7.9.tar.bz2") system("curl -a -O ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.bz2")
system("tar xf pcre-7.9.tar") end
Dir.chdir("pcre-7.9") do system("bunzip2 pcre-8.10.tar.bz2")
system("tar xf pcre-8.10.tar")
Dir.chdir("pcre-8.10") do
system("./configure") system("./configure")
system("make install") system("make install")
end end
Expand All @@ -45,10 +49,12 @@ task :setup do
if File.exist? "/opt/godi/bin/ocaml" if File.exist? "/opt/godi/bin/ocaml"
puts "GODI is already installed" puts "GODI is already installed"
else else
system("curl -a -O http://download.camlcity.org/download/godi-rocketboost-20090916.tar.gz") if !File.exist? "godi-rocketboost-20091222.tar.gz"
system("tar xvzf godi-rocketboost-20090916.tar.gz") system("curl -a -O http://download.camlcity.org/download/godi-rocketboost-20091222.tar.gz")
end
system("tar xvzf godi-rocketboost-20091222.tar.gz")
mkdir_p "godi" mkdir_p "godi"
Dir.chdir("godi-rocketboost-20090916") do Dir.chdir("godi-rocketboost-20091222") do
system("./bootstrap") system("./bootstrap")
system("PATH=/opt/godi/bin:/opt/godi/sbin:$PATH && ./bootstrap_stage2") system("PATH=/opt/godi/bin:/opt/godi/sbin:$PATH && ./bootstrap_stage2")
end end
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
1.15 1.15.1
1 change: 0 additions & 1 deletion src/mtasc/std/TopLevel.as
Expand Up @@ -50,5 +50,4 @@ intrinsic class TopLevel {
private static function fscommand(x,y) : Void; private static function fscommand(x,y) : Void;
private static function print(x,y : String) : Void; private static function print(x,y : String) : Void;
private static function stopAllSounds() : Void; private static function stopAllSounds() : Void;

} }

0 comments on commit a22926a

Please sign in to comment.