aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fswatch.rb
blob: d2b042dc30d78bd69b6370bbb58b42dee3a52c0e (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.7.tar.gz"
  sha1 "812299f0d6245769c30c073a68af9fe54cbbc31b"

  bottle do
    sha1 "9d0cd69f3ce150a94a5e5c90fecafdafae85fdef" => :mavericks
    sha1 "ad5b25ba07a8bc29a1c33ef359e5579170c562e5" => :mountain_lion
    sha1 "d04fd3d57dd593b93f012e37f0c457830b3acebb" => :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