homebrew-core/Formula/jack.rb
Geoff Reedy 1d7fdcffce Set LINKFLAGS env var
The waf build uses LINKFLAGS not LDFLAGS. Set
LINKFLAGS the same as LDFLAGS so the build can
find libraries from a non-/usr/local brew install

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-23 12:29:52 -07:00

22 lines
536 B
Ruby

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