From 84002f38375eed7182be6bc31d096cc082a183b8 Mon Sep 17 00:00:00 2001 From: Jan Berkel Date: Wed, 20 Oct 2010 13:22:24 +0200 Subject: [PATCH] Use Jack2 by default The original tarball is no longer downloadable, and development continues on the Jack2 branch. Jack2 promises 0.118 compatibility. Signed-off-by: Adam Vandenberg --- Formula/jack.rb | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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