d138183bfb
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
22 lines
674 B
Ruby
22 lines
674 B
Ruby
require 'formula'
|
|
|
|
class Fuse4x < Formula
|
|
homepage 'http://fuse4x.org/'
|
|
url 'https://github.com/fuse4x/fuse.git', :tag => "fuse4x_0_8_13"
|
|
version "0.8.13"
|
|
|
|
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"
|
|
system "autoreconf", "--force", "--install"
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--disable-debug", "--disable-static", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|