diff options
| author | Charlie Sharpsteen | 2011-09-20 14:05:45 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-20 14:37:28 -0700 |
| commit | 524d9789e2d68c159bbdffd292802befdf97651f (patch) | |
| tree | 5dd75600d390a9334912b53cd2d56e6e04a24e3a | |
| parent | 51f9941d175de0748ac3a730778d067bd0b0d04c (diff) | |
| download | homebrew-524d9789e2d68c159bbdffd292802befdf97651f.tar.bz2 | |
djmount: Use fuse4x as a default FUSE provider
| -rw-r--r-- | Library/Formula/djmount.rb | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Library/Formula/djmount.rb b/Library/Formula/djmount.rb index d798d1b85..57b1a3b82 100644 --- a/Library/Formula/djmount.rb +++ b/Library/Formula/djmount.rb @@ -6,29 +6,32 @@ class Djmount < Formula md5 'c922753e706c194bf82a8b6ca77e6a9a' depends_on 'libupnp' + depends_on 'fuse4x' def patches { :p0 => DATA } end - def caveats - <<-EOS.undent - This depends on the MacFUSE installation from http://code.google.com/p/macfuse/ - MacFUSE must be installed prior to installing this formula. - EOS - end - def install ENV.append "CFLAGS", "-D__FreeBSD__=10" + ENV['FUSE_CFLAGS'] = `pkg-config fuse --cflags`.chomp + ENV['FUSE_LIBS'] = `pkg-config fuse --libs`.chomp + system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", - "--with-fuse-prefix=/usr/local", "--with-external-libupnp", "--with-libupnp-prefix=#{HOMEBREW_PREFIX}" system "make" system "make install" end + + def caveats + <<-EOS.undent + Make sure to follow the directions given by `brew info fuse4x-kext` + before trying to use a FUSE-based filesystem. + EOS + end end __END__ |
