Created
August 8, 2012 22:00
-
-
Save dudemeister/3299191 to your computer and use it in GitHub Desktop.
osx106pulseaudio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Pulseaudio < Formula | |
url 'http://freedesktop.org/software/pulseaudio/releases/pulseaudio-1.1.tar.xz' | |
head 'git://anongit.freedesktop.org/pulseaudio/pulseaudio' | |
homepage 'http://www.pulseaudio.org/' | |
md5 '17d21df798cee407b769c6355fae397a' | |
depends_on "intltool" | |
depends_on "gettext" | |
depends_on "libsndfile" | |
depends_on "speex" | |
depends_on "json-c" | |
depends_on "libsamplerate" | |
def patches | |
[ | |
"https://raw.github.com/gist/1633642/strip-udev.patch", | |
"https://raw.github.com/gist/1633642/detect-coreaudio.patch" | |
] | |
end | |
def install | |
system "./configure", "--prefix=#{prefix}", "--with-mac-sysroot=/Developer/SDKs/MacOSX10.6.sdk" | |
system "make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment