aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/xmount.rb
blob: 9570c48a4adb980010964cff3d62e31941ca3b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require "formula"

class Xmount < Formula
  homepage "https://www.pinguin.lu/index.php"
  url "http://files.pinguin.lu/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"

  patch :DATA

  def install
    system "aclocal -I #{HOMEBREW_PREFIX}/share/aclocal"
    system "autoconf"
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make", "install"
  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