homebrew-core/Formula/fuse4x.rb
Anatol Pomozov 7fc8a03f89 fuse4x: Update to 0.9.0
Closes Homebrew/homebrew#10768.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-03-10 13:10:36 -08:00

26 lines
784 B
Ruby

require 'formula'
class Fuse4x < Formula
homepage 'http://fuse4x.org/'
url 'https://github.com/fuse4x/fuse.git', :tag => "fuse4x_0_9_0"
version "0.9.0"
depends_on 'gettext'
depends_on 'fuse4x-kext'
if MacOS.xcode_version >= "4.3"
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
# Build universal if the hardware can handle it---otherwise 32 bit only
MacOS.prefer_64_bit? ? ENV.universal_binary : ENV.m32
system "autoreconf", "--force", "--install"
ENV.append_to_cflags "-D_DARWIN_USE_64_BIT_INODE" # force 64bit inodes on 10.5. On 10.6+ this is no-op.
system "./configure", "--disable-dependency-tracking", "--disable-debug", "--disable-static", "--prefix=#{prefix}"
system "make install"
end
end