diff options
| author | Jack Nagel | 2014-03-19 12:07:51 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-19 12:29:56 -0500 |
| commit | d0d403b5705de7677ab939438d321aee4da27255 (patch) | |
| tree | f4373e33a63c4812a40beca013397dc4922d681d /Library | |
| parent | 3445001afbb2861865eb978bdd0629641ec42504 (diff) | |
| download | homebrew-d0d403b5705de7677ab939438d321aee4da27255.tar.bz2 | |
gmtl: use patch DSL
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gmtl.rb | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Library/Formula/gmtl.rb b/Library/Formula/gmtl.rb index 544a2efd7..dfe162e70 100644 --- a/Library/Formula/gmtl.rb +++ b/Library/Formula/gmtl.rb @@ -2,20 +2,21 @@ require 'formula' class Gmtl < Formula homepage 'http://ggt.sourceforge.net/' - url 'https://downloads.sourceforge.net/project/ggt/Generic%20Math%20Template%20Library/0.6.1/gmtl-0.6.1.tar.gz' - sha1 '473a454d17956d3ce3babafdb57f73c0685579fd' + + stable do + url "https://downloads.sourceforge.net/project/ggt/Generic%20Math%20Template%20Library/0.6.1/gmtl-0.6.1.tar.gz" + sha1 "473a454d17956d3ce3babafdb57f73c0685579fd" + + # 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 + # The SConstruct from gmtl's HEAD doesn't need to be patched + patch :DATA + end 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 - # The SConstruct from gmtl's HEAD doesn't need to be patched - def patches - DATA unless build.head? - end - def install scons "install", "prefix=#{prefix}" end |
