diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/portaudio.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/portaudio.rb b/Library/Formula/portaudio.rb index 941bad2d7..250ee5721 100644 --- a/Library/Formula/portaudio.rb +++ b/Library/Formula/portaudio.rb @@ -1,9 +1,9 @@ require 'formula' class Portaudio < Formula - url 'http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz' homepage 'http://www.portaudio.com' - md5 '25c85c1cc5e9e657486cbc299c6c035a' + url 'http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz' + sha1 'f07716c470603729a55b70f5af68f4a6807097eb' depends_on 'pkg-config' => :build @@ -15,10 +15,10 @@ class Portaudio < Formula # Fix PyAudio compilation on Lion def patches - if MacOS.lion? - { :p0 => "https://trac.macports.org/export/94150/trunk/dports/audio/portaudio/files/patch-include__pa_mac_core.h.diff" } - end - end + { :p0 => + "https://trac.macports.org/export/94150/trunk/dports/audio/portaudio/files/patch-include__pa_mac_core.h.diff" + } + end if MacOS.lion? def install ENV.universal_binary if build.universal? @@ -27,7 +27,7 @@ class Portaudio < Formula "--disable-debug", "--disable-dependency-tracking", # portaudio builds universal unless told not to - "--enable-mac-universal=#{ARGV.build_universal? ? 'yes' : 'no'}" ] + "--enable-mac-universal=#{build.universal? ? 'yes' : 'no'}" ] system "./configure", *args system "make install" |
