diff options
| author | Jack Nagel | 2014-03-16 14:54:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-16 14:54:25 -0500 |
| commit | 8ce77b0504c039ee533707c116ebfe67ba506358 (patch) | |
| tree | 219c53b37245d1fce2fbc274f878bb8395a18b2a /Library/Formula | |
| parent | f54201355fff2ff540ddd6a03d789889a8571d10 (diff) | |
| download | homebrew-8ce77b0504c039ee533707c116ebfe67ba506358.tar.bz2 | |
portaudio: move patch into stable block
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/portaudio.rb | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Library/Formula/portaudio.rb b/Library/Formula/portaudio.rb index ae3ee8f4f..b8aaf8e1f 100644 --- a/Library/Formula/portaudio.rb +++ b/Library/Formula/portaudio.rb @@ -2,8 +2,18 @@ require 'formula' class Portaudio < Formula homepage 'http://www.portaudio.com' - url 'http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz' - sha1 'f07716c470603729a55b70f5af68f4a6807097eb' + + stable do + url 'http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz' + sha1 'f07716c470603729a55b70f5af68f4a6807097eb' + + # Fix PyAudio compilation on Lion + patch :p0 do + url "https://trac.macports.org/export/94150/trunk/dports/audio/portaudio/files/patch-include__pa_mac_core.h.diff" + mirror "https://raw.github.com/sakuro/macports/9ee0b7dd6045a3967348638a228bc1a658bcaa3f/audio/portaudio/files/patch-include__pa_mac_core.h.diff" + sha1 "28188dfb6a5438a050fccb70331751a40e33447d" + end if MacOS.version >= :lion + end head 'https://subversion.assembla.com/svn/portaudio/portaudio/trunk/', :using => :svn @@ -15,13 +25,6 @@ class Portaudio < Formula build 2334 end - # Fix PyAudio compilation on Lion - patch :p0 do - url "https://trac.macports.org/export/94150/trunk/dports/audio/portaudio/files/patch-include__pa_mac_core.h.diff" - mirror "https://raw.github.com/sakuro/macports/9ee0b7dd6045a3967348638a228bc1a658bcaa3f/audio/portaudio/files/patch-include__pa_mac_core.h.diff" - sha1 "28188dfb6a5438a050fccb70331751a40e33447d" - end if MacOS.version >= :lion and not build.head? - def install ENV.universal_binary if build.universal? |
