aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fswatch.rb
blob: 347846c361bcd89b7a84d58116187ce98ac1499e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require "formula"

class Fswatch < Formula
  homepage "https://github.com/emcrisostomo/fswatch"
  url "https://github.com/emcrisostomo/fswatch/releases/download/1.4.3.1/fswatch-1.4.3.1.zip"
  sha1 "6749ed20494652f51c45c23396775f28e010e992"

  bottle do
    sha1 "886050fa4d4d137a376ff50269b1ebc667f39bec" => :mavericks
    sha1 "64c60c0e7a8f86e4ed9b225b1533be6b6f0b858d" => :mountain_lion
    sha1 "4d70a14e0f68a3134b03952e287aab76710c96f9" => :lion
  end

  needs :cxx11

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