aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-27 21:16:10 -0700
committerAdam Vandenberg2012-08-27 21:16:10 -0700
commitafdb436579acf24cbeccf5ac526b470af8133a0e (patch)
treea1736df2ac586a311b1803abfc01e6b0275790bd /Library/Formula
parent6aafe364dce09b54e7f9b3d06d41467adadfd79c (diff)
downloadhomebrew-afdb436579acf24cbeccf5ac526b470af8133a0e.tar.bz2
gmtl: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gmtl.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/gmtl.rb b/Library/Formula/gmtl.rb
index 1449b654b..63fec01fb 100644
--- a/Library/Formula/gmtl.rb
+++ b/Library/Formula/gmtl.rb
@@ -1,9 +1,10 @@
require 'formula'
class Gmtl < Formula
- 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/'
+ url 'http://downloads.sourceforge.net/project/ggt/Generic%20Math%20Template%20Library/0.6.1/gmtl-0.6.1.tar.gz'
md5 '1391af2c5ea050dda7735855ea5bb4c1'
+
head 'https://ggt.svn.sourceforge.net/svnroot/ggt/trunk/'
depends_on 'scons' => :build
@@ -12,7 +13,7 @@ class Gmtl < Formula
# https://sourceforge.net/tracker/?func=detail&aid=3172856&group_id=43735&atid=437247
# The SConstruct from gmtl's HEAD doesn't need to be patched
def patches
- DATA unless ARGV.build_head?
+ DATA unless build.head?
end
def install