aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBooboule2014-01-30 00:10:22 +0100
committerAdam Vandenberg2014-02-08 08:37:04 -0800
commitf23946c09be9cef9c1d0e51844a8c724fba4027d (patch)
tree038dc89ceabe8f37638c1d8ad7754e1c82af8bc2
parent698738ba29cc675c4f65ba2f4f7dc121b3432df1 (diff)
downloadhomebrew-f23946c09be9cef9c1d0e51844a8c724fba4027d.tar.bz2
xmount 0.5.0
Closes #26268. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/xmount.rb47
1 files changed, 47 insertions, 0 deletions
diff --git a/Library/Formula/xmount.rb b/Library/Formula/xmount.rb
new file mode 100644
index 000000000..02327ed23
--- /dev/null
+++ b/Library/Formula/xmount.rb
@@ -0,0 +1,47 @@
+require "formula"
+
+class Xmount < Formula
+ homepage "https://www.pinguin.lu/index.php"
+ url "http://files.pinguin.lu/projects/xmount-0.5.0.tar.gz"
+ sha1 "3a0b208db38f987ce97458bbae8db20e1f3cdba9"
+
+ depends_on "pkg-config" => :build
+ depends_on "automake" => :build
+ depends_on "autoconf" => :build
+ depends_on "osxfuse"
+ depends_on "libewf"
+
+ def patches
+ DATA
+ end
+
+ def install
+ system "aclocal -I #{HOMEBREW_PREFIX}/share/aclocal"
+ system "autoconf"
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make", "install"
+ end
+
+ def caveats; <<-EOS.undent
+ Make sure to follow the directions given by 'brew info osxfuse'
+ before trying to use a FUSE-based filesystem.
+ EOS
+ end
+end
+
+__END__
+diff a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,9 +2,9 @@
+
+ AC_PREREQ(2.61)
+ AC_INIT([xmount], [0.5.0], [bugs@pinguin.lu])
+-AM_INIT_AUTOMAKE(@PACKAGE_NAME@, @PACKAGE_VERSION@)
+ AC_CONFIG_SRCDIR([xmount.c])
+ AC_CONFIG_HEADER([config.h])
++AM_INIT_AUTOMAKE
+
+ # Checks for programs.
+ AC_PROG_CC