homebrew-core/Formula/jack.rb

27 lines
633 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Jack < Formula
homepage 'http://jackaudio.org'
2012-06-13 03:31:11 +00:00
url 'http://www.grame.fr/~letz/jack-1.9.7.tar.bz2'
sha1 '0a344fd962666f7c95969da0576ac0228e71b30d'
depends_on 'celt'
depends_on 'libsamplerate'
2011-04-16 18:56:28 +00:00
# default build assumes ppc+i386, changed to i386+x86_64
def patches
"https://gist.github.com/raw/636194/jack-1.9.6_homebrew.patch"
end
2012-06-13 03:31:11 +00:00
fails_with :clang do
cause 'waf fails to find g++ when compiling with clang'
end
def install
ENV['LINKFLAGS'] = ENV.ldflags
2012-06-13 03:31:11 +00:00
system "./waf","configure", "--prefix=#{prefix}"
system "./waf","build"
system "./waf","install"
end
end