aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDeniss Afonin2011-09-01 13:56:47 +0300
committerCharlie Sharpsteen2011-09-11 18:54:11 -0700
commit6748b167e1cc8546f04c079572522e29e7b4b518 (patch)
tree7e3ca645a9408189125b96e5fda28007243be78a /Library/Formula
parentb18a6c6ba29044b16b54ec3eb541c918bc6f58b6 (diff)
downloadhomebrew-6748b167e1cc8546f04c079572522e29e7b4b518.tar.bz2
New formula: fuse4x
Provides libraries required to build and run programs that use FUSE filesystems. Note that this formula installs `libfuse4x` instead of the traditional `libfuse` in order to avoid clashing with MacFUSE and other `libfuse` distributions---such as the one bundled with VMWare Fusion. Configure scripts for software expecting to link against `libfuse` will need to be modified accordingly. Closes #7371. Closes #6185. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/fuse4x.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/fuse4x.rb b/Library/Formula/fuse4x.rb
new file mode 100644
index 000000000..930dd1f47
--- /dev/null
+++ b/Library/Formula/fuse4x.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Fuse4x < Formula
+ homepage 'http://fuse4x.org/'
+ url 'https://github.com/fuse4x/fuse.git', :tag => "fuse4x_0_8_12"
+ version "0.8.12"
+
+ depends_on 'gettext'
+ depends_on 'fuse4x-kext'
+
+ def install
+ 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