Skip to content
Browse files

Updated build system

  • Loading branch information...
1 parent 51dd3de commit a22926a9a8d64cc5f63a852fe66cafc3c2a10edf @bomberstudios committed Jan 27, 2011
Showing with 17 additions and 12 deletions.
  1. +2 −2 README.mdown
  2. +14 −8 Rakefile
  3. +1 −1 VERSION
  4. +0 −1 src/mtasc/std/TopLevel.as
View
4 README.mdown
@@ -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:
-https://sourceforge.net/projects/mtasc/
+<https://sourceforge.net/projects/mtasc/>
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.
View
22 Rakefile
@@ -19,7 +19,9 @@ task :setup do
if File.exist? "/usr/local/bin/wget"
puts "wget is already installed"
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("tar xf wget-1.11.4.tar")
Dir.chdir("wget-1.11.4") do
@@ -32,10 +34,12 @@ task :setup do
if File.exist? "/usr/local/bin/pcregrep"
puts "pcre is already installed"
else
- system("curl -a -O ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2")
- system("bunzip2 pcre-7.9.tar.bz2")
- system("tar xf pcre-7.9.tar")
- Dir.chdir("pcre-7.9") do
+ if !File.exist? "pcre-8.10.tar.bz2"
+ system("curl -a -O ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.bz2")
+ end
+ system("bunzip2 pcre-8.10.tar.bz2")
+ system("tar xf pcre-8.10.tar")
+ Dir.chdir("pcre-8.10") do
system("./configure")
system("make install")
end
@@ -45,10 +49,12 @@ task :setup do
if File.exist? "/opt/godi/bin/ocaml"
puts "GODI is already installed"
else
- system("curl -a -O http://download.camlcity.org/download/godi-rocketboost-20090916.tar.gz")
- system("tar xvzf godi-rocketboost-20090916.tar.gz")
+ if !File.exist? "godi-rocketboost-20091222.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"
- Dir.chdir("godi-rocketboost-20090916") do
+ Dir.chdir("godi-rocketboost-20091222") do
system("./bootstrap")
system("PATH=/opt/godi/bin:/opt/godi/sbin:$PATH && ./bootstrap_stage2")
end
View
2 VERSION
@@ -1 +1 @@
-1.15
+1.15.1
View
1 src/mtasc/std/TopLevel.as
@@ -50,5 +50,4 @@ intrinsic class TopLevel {
private static function fscommand(x,y) : Void;
private static function print(x,y : String) : Void;
private static function stopAllSounds() : Void;
-
}

0 comments on commit a22926a

Please sign in to comment.
Something went wrong with that request. Please try again.