diff --git a/Formula/jack.rb b/Formula/jack.rb index 8812b365a11..b940fee69a9 100644 --- a/Formula/jack.rb +++ b/Formula/jack.rb @@ -1,14 +1,21 @@ require 'formula' class Jack :build + depends_on 'celt' + depends_on 'libsamplerate' + + def patches + # default build assumes ppc+i386, changed to i386+x86_64 + "http://gist.github.com/raw/636194/jack-1.9.6_homebrew.patch" + end def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "./waf configure --prefix=#{prefix}" + system "./waf build" + system "./waf install" end end