2014-01-29 23:10:22 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Xmount < Formula
|
|
|
|
homepage "https://www.pinguin.lu/index.php"
|
2014-07-24 06:29:21 +00:00
|
|
|
url "http://files.pinguin.lu/xmount-0.5.0.tar.gz"
|
2014-01-29 23:10:22 +00:00
|
|
|
sha1 "3a0b208db38f987ce97458bbae8db20e1f3cdba9"
|
|
|
|
|
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "osxfuse"
|
|
|
|
depends_on "libewf"
|
|
|
|
|
2014-03-21 15:11:08 +00:00
|
|
|
patch :DATA
|
2014-01-29 23:10:22 +00:00
|
|
|
|
|
|
|
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
|