aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gmtl.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-05 13:03:41 -0800
committerAdam Vandenberg2011-03-05 13:03:41 -0800
commitb5aa606e4e341301307b6a49a4384d482a5c1b3f (patch)
treec535f5564f2d771566a27c89caae85324b3c07e5 /Library/Formula/gmtl.rb
parent6884841896e422ec971f49600c295a68333588f7 (diff)
downloadhomebrew-b5aa606e4e341301307b6a49a4384d482a5c1b3f.tar.bz2
gmtl 0.6.1
Also fixes non-Framework Python issues. [rpavlik] Fixes #4131
Diffstat (limited to 'Library/Formula/gmtl.rb')
-rw-r--r--Library/Formula/gmtl.rb11
1 files changed, 9 insertions, 2 deletions
diff --git a/Library/Formula/gmtl.rb b/Library/Formula/gmtl.rb
index 622d63286..17f9414ae 100644
--- a/Library/Formula/gmtl.rb
+++ b/Library/Formula/gmtl.rb
@@ -1,12 +1,19 @@
require 'formula'
class Gmtl <Formula
- url 'http://downloads.sourceforge.net/project/ggt/Generic%20Math%20Template%20Library/0.6.0/gmtl-0.6.0.tar.gz'
+ url 'http://downloads.sourceforge.net/project/ggt/Generic%20Math%20Template%20Library/0.6.1/gmtl-0.6.1.tar.gz'
homepage 'http://ggt.sourceforge.net/'
- md5 '018c2cce3c87ad63509481b1eb144387'
+ md5 '1391af2c5ea050dda7735855ea5bb4c1'
+ head 'https://ggt.svn.sourceforge.net/svnroot/ggt/trunk/'
depends_on 'scons' => :build
+ # Build assumes that Python is a framework, which isn't always true. See:
+ # https://sourceforge.net/tracker/?func=detail&aid=3172856&group_id=43735&atid=437247
+ def patches
+ "https://gist.github.com/raw/811405/fix-gmtl-build.diff"
+ end
+
def install
system "scons", "install", "prefix=#{prefix}"
end