homebrew-core/Formula/fuse4x.rb

28 lines
794 B
Ruby
Raw Normal View History

require 'formula'
class Fuse4x < Formula
homepage 'http://fuse4x.github.com'
url 'https://github.com/fuse4x/fuse/tarball/fuse4x_0_9_1'
md5 '1c82dd00feff6e422b6cef81abd98185'
version "0.9.1"
2012-07-07 18:08:22 +00:00
depends_on :automake
depends_on :libtool
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
system "autoreconf", "--force", "--install"
2012-03-18 20:07:17 +00:00
# force 64bit inodes on 10.5. On 10.6+ this is no-op.
ENV.append_to_cflags "-D_DARWIN_USE_64_BIT_INODE"
system "./configure", "--disable-dependency-tracking",
"--disable-static",
"--prefix=#{prefix}"
system "make install"
end
end