haxe 3.1.2

master
Andy Li 2014-03-29 23:42:12 +08:00 committed by Mike McQuaid
parent 16f4605982
commit 4fa9a20149
1 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@ require 'formula'
class Haxe < Formula
homepage 'http://haxe.org'
url 'https://github.com/HaxeFoundation/haxe.git', :tag => 'v3.1.1'
url 'https://github.com/HaxeFoundation/haxe.git', :tag => '3.1.2'
head 'https://github.com/HaxeFoundation/haxe.git', :branch => 'development'
@ -22,6 +22,11 @@ class Haxe < Formula
system "make"
bin.mkpath
system "make", "install", "INSTALL_BIN_DIR=#{bin}", "INSTALL_LIB_DIR=#{lib}/haxe"
# Replace the absolute symlink by a relative one,
# such that binary package created by homebrew will work in non-/usr/local locations.
rm bin/"haxe"
bin.install_symlink lib/"haxe/haxe"
end
test do