homebrew-core/Formula/fuse4x.rb
Adam Malcontenti-Wilson 9eee8042f5 fuse4x: Use paths to Mac OS X supplied autotools
Closes Homebrew/homebrew#9803.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-01-26 23:28:50 -08:00

24 lines
767 B
Ruby

require 'formula'
class Fuse4x < Formula
homepage 'http://fuse4x.org/'
url 'https://github.com/fuse4x/fuse.git', :tag => "fuse4x_0_8_14"
version "0.8.14"
depends_on 'gettext'
depends_on 'fuse4x-kext'
def install
# Build universal if the hardware can handle it---otherwise 32 bit only
MacOS.prefer_64_bit? ? ENV.universal_binary : ENV.m32
gettext = Formula.factory('gettext')
ENV['ACLOCAL'] = "/usr/bin/aclocal -I#{gettext.share}/aclocal"
ENV['AUTOCONF'] = "/usr/bin/autoconf"
ENV['AUTOMAKE'] = "/usr/bin/automake"
system "/usr/bin/autoreconf", "--force", "--install"
system "./configure", "--disable-dependency-tracking", "--disable-debug", "--disable-static", "--prefix=#{prefix}"
system "make install"
end
end