diff options
| author | Martin Kühl | 2011-02-16 19:14:25 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2011-02-21 12:02:52 -0800 |
| commit | b96c8fab4b79e62ba9d9863662f3e59fdadc6ec0 (patch) | |
| tree | 1d334c420e8a05e2c7d2312ebbe6875422d7e082 | |
| parent | f9fcdb650f07b3726a96aa1b058200e964053b75 (diff) | |
| download | homebrew-b96c8fab4b79e62ba9d9863662f3e59fdadc6ec0.tar.bz2 | |
Updated formula: `parrot` version 3.0.0
Also:
* Manually fixing install_names is no longer required in version 3.0.0.
* Disabling OpenGL support doesn't seem to cause any trouble.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/parrot.rb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Library/Formula/parrot.rb b/Library/Formula/parrot.rb index 18e4a75e6..fc5b52a09 100644 --- a/Library/Formula/parrot.rb +++ b/Library/Formula/parrot.rb @@ -2,9 +2,9 @@ require 'formula' class Parrot <Formula head 'git://github.com/parrot/parrot.git' - url 'ftp://ftp.parrot.org/pub/parrot/releases/supported/2.9.1/parrot-2.9.1.tar.gz' + url 'ftp://ftp.parrot.org/pub/parrot/releases/supported/3.0.0/parrot-3.0.0.tar.gz' + md5 'fc1d88114636eff4fe7953de456cecfa' homepage 'http://www.parrot.org/' - md5 '5f68803d2a9f7488459337f0628ad8fc' depends_on 'gmp' => :optional depends_on 'icu4c' => :optional @@ -13,17 +13,9 @@ class Parrot <Formula def install system "perl", "Configure.pl", "--prefix=#{prefix}", "--debugging=0", - "--without-opengl", "--cc=#{ENV.cc}" system "make" system "make install" - - l = %x{otool -L #{bin}/parrot}[/\S*blib\/lib\S*/] - %w{ops2c parrot parrot-nqp parrot-prove parrot_config parrot_debugger - parrot_nci_thunk_gen pbc_disassemble pbc_dump pbc_merge pbc_to_exe - }.each do |fn| - system "install_name_tool -change #{l} #{lib}/libparrot.dylib #{bin+fn}" - end end end |
