homebrew-core/Formula/jack.rb
Jack Nagel 5bd598db36 Use ENV shortcut methods where applicable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:12 -05:00

22 lines
533 B
Ruby

require 'formula'
class Jack < Formula
url 'http://www.grame.fr/~letz/jack-1.9.7.tar.bz2'
homepage 'http://jackaudio.org'
md5 '9759670feecbd43eeccf1c0f743ec199'
depends_on 'celt'
depends_on 'libsamplerate'
# 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
def install
ENV['LINKFLAGS'] = ENV.ldflags
system "./waf","configure","--prefix=#{prefix}"
system "./waf","build"
system "./waf","install"
end
end