2011-09-01 10:56:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Fuse4x < Formula
|
|
|
|
homepage 'http://fuse4x.org/'
|
2011-12-24 16:42:55 +00:00
|
|
|
url 'https://github.com/fuse4x/fuse.git', :tag => "fuse4x_0_8_14"
|
|
|
|
version "0.8.14"
|
2011-09-01 10:56:47 +00:00
|
|
|
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'fuse4x-kext'
|
|
|
|
|
|
|
|
def install
|
2011-09-20 17:13:16 +00:00
|
|
|
# Build universal if the hardware can handle it---otherwise 32 bit only
|
|
|
|
MacOS.prefer_64_bit? ? ENV.universal_binary : ENV.m32
|
2011-09-01 10:56:47 +00:00
|
|
|
|
2011-10-17 21:28:19 +00:00
|
|
|
gettext = Formula.factory('gettext')
|
2011-09-01 10:56:47 +00:00
|
|
|
ENV['ACLOCAL'] = "/usr/bin/aclocal -I#{gettext.share}/aclocal"
|
2012-01-27 05:55:02 +00:00
|
|
|
ENV['AUTOCONF'] = "/usr/bin/autoconf"
|
|
|
|
ENV['AUTOMAKE'] = "/usr/bin/automake"
|
|
|
|
system "/usr/bin/autoreconf", "--force", "--install"
|
2011-09-20 17:13:16 +00:00
|
|
|
|
2011-09-01 10:56:47 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--disable-debug", "--disable-static", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|