2010-07-03 14:05:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jack < Formula
|
2010-10-20 11:22:24 +00:00
|
|
|
url 'http://www.grame.fr/~letz/jack-1.9.6.tar.bz2'
|
2010-07-03 14:05:23 +00:00
|
|
|
homepage 'http://jackaudio.org'
|
2010-10-20 11:22:24 +00:00
|
|
|
md5 'fcd4bdb44f51d71c9e19bc1d0e887902'
|
2010-07-03 14:05:23 +00:00
|
|
|
|
2010-10-20 11:22:24 +00:00
|
|
|
depends_on 'celt'
|
|
|
|
depends_on 'libsamplerate'
|
|
|
|
|
|
|
|
def patches
|
|
|
|
# default build assumes ppc+i386, changed to i386+x86_64
|
2010-11-10 18:16:28 +00:00
|
|
|
"https://gist.github.com/raw/636194/jack-1.9.6_homebrew.patch"
|
2010-10-20 11:22:24 +00:00
|
|
|
end
|
2010-07-03 14:05:23 +00:00
|
|
|
|
|
|
|
def install
|
2010-10-23 19:03:16 +00:00
|
|
|
ENV['LINKFLAGS'] = ENV['LDFLAGS']
|
|
|
|
system "./waf","configure","--prefix=#{prefix}"
|
|
|
|
system "./waf","build"
|
|
|
|
system "./waf","install"
|
2010-07-03 14:05:23 +00:00
|
|
|
end
|
|
|
|
end
|