Skip to content

Instantly share code, notes, and snippets.

@nebiros
Created March 22, 2012 01:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nebiros/2155061 to your computer and use it in GitHub Desktop.
Save nebiros/2155061 to your computer and use it in GitHub Desktop.
fuse4x formula fixed for AM_ICONV error
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'
depends_on "automake" => :build
depends_on "libtool" => :build
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"
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment