ace: update to 6.1.3 and fix Mountain Lion build.

Fixes Homebrew/homebrew#13817.
master
Mike McQuaid 2012-08-03 21:35:17 +01:00
parent f64c9f510e
commit 929bf7cd72
1 changed files with 6 additions and 3 deletions

View File

@ -2,8 +2,8 @@ require 'formula'
class Ace < Formula
homepage 'http://www.cse.wustl.edu/~schmidt/ACE.html'
url 'http://download.dre.vanderbilt.edu/previous_versions/ACE-6.1.2.tar.bz2'
sha1 'd2f22607cbb1246abd2f4b77647f37442d117a7e'
url 'http://download.dre.vanderbilt.edu/previous_versions/ACE-6.1.3.tar.bz2'
sha1 '30f593aad200204c98aef55e7093344442649d38'
def install
# ACE has two methods of compilation, "traditional" and ./configure.
@ -21,7 +21,10 @@ class Ace < Formula
1005 => 'macosx_leopard',
1006 => 'macosx_snowleopard',
1007 => 'macosx_lion',
1008 => 'macosx_mountainlion' }[ver]
# TODO: Fix for 6.1.4.
# There's no Mountain Lion file yet.
# Reported to d.schmidt@vanderbilt.edu
1008 => 'macosx_lion' }[ver]
makefile = "platform_#{name}.GNU"
header = "config-" + name.sub('_','-') + ".h"