aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fswatch.rb
blob: a2b30dcfc9c30f2feffac755dd2d6906fcf35fe0 (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
require "formula"

class Fswatch < Formula
  homepage "https://github.com/alandipert/fswatch"
  url "https://github.com/alandipert/fswatch/archive/1.3.9.tar.gz"
  sha1 "5035f9f3ece9b64f523f62e47edaf791f305a424"

  bottle do
    sha1 "4f002ffcb2a2c1fa93c1eb1976b12e6eed38304f" => :mavericks
    sha1 "6d920dae8c0086e7a2cfadd1ed949baee055a208" => :mountain_lion
    sha1 "3bb0ac74a32cd00429bef19b088687e4ff836307" => :lion
  end

  depends_on "autoconf" => :build
  depends_on "automake" => :build

  needs :cxx11

  def install
    ENV.cxx11
    system "./autogen.sh"
    system "./configure", "--prefix=#{prefix}",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules"
    system "make", "install"
  end
end