blob: 46ff0f96d549517bdad92b12ed7bfa6e9cc4deff (
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
 | class RofsFiltered < Formula
  homepage "https://github.com/gburca/rofs-filtered/"
  url "https://github.com/gburca/rofs-filtered/archive/rel-1.5.tar.gz"
  sha256 "4c97a85e7993945e417c45cc80fcb8ad780f310142b8f94e8b3bed005733a698"
  depends_on "pkg-config" => :build
  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libtool" => :build
  depends_on "intltool" => :build
  depends_on "gettext" => :build
  depends_on :osxfuse
  depends_on :macos => :yosemite
  def install
    ENV.prepend "CPPFLAGS", "-I#{HOMEBREW_PREFIX}/include/osxfuse/fuse"
    system "./autogen.sh"
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}",
                          "--sysconfdir=#{etc}",
                          "--with-libfuse=#{HOMEBREW_PREFIX}"
    system "make", "install"
  end
  test do
    system "rofs-filtered"
  end
end
 |