3ad9a0896f
The `brew audit` check complains about the older /tarball/ URL scheme. Update formulae to use the new /archive/ URL and update the SHA to match. Closes Homebrew/homebrew#18813. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
30 lines
966 B
Ruby
30 lines
966 B
Ruby
require 'formula'
|
|
|
|
class Fuse4x < Formula
|
|
homepage 'http://fuse4x.github.com'
|
|
url 'https://github.com/fuse4x/fuse/archive/fuse4x_0_9_2.tar.gz'
|
|
sha1 '3a9700f716eff930dcd2426772c642a09adcc73a'
|
|
|
|
# Always use newer versions of these tools
|
|
depends_on 'automake' => :build
|
|
depends_on 'libtool' => :build
|
|
|
|
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
|
|
|
|
inreplace 'configure.in', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
|
|
inreplace 'makeconf.sh', 'libtoolize', 'glibtoolize'
|
|
system './makeconf.sh'
|
|
|
|
# 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
|