2014-05-15 02:23:08 +00:00
|
|
|
require "formula"
|
2013-09-12 09:27:09 +00:00
|
|
|
|
|
|
|
class Fswatch < Formula
|
2014-05-15 02:23:08 +00:00
|
|
|
homepage "https://github.com/alandipert/fswatch"
|
2014-07-26 19:29:45 +00:00
|
|
|
url "https://github.com/alandipert/fswatch/archive/1.3.9.tar.gz"
|
|
|
|
sha1 "5035f9f3ece9b64f523f62e47edaf791f305a424"
|
2014-05-14 20:43:11 +00:00
|
|
|
|
2014-06-04 14:45:14 +00:00
|
|
|
bottle do
|
2014-07-26 19:35:13 +00:00
|
|
|
sha1 "4f002ffcb2a2c1fa93c1eb1976b12e6eed38304f" => :mavericks
|
|
|
|
sha1 "6d920dae8c0086e7a2cfadd1ed949baee055a208" => :mountain_lion
|
|
|
|
sha1 "3bb0ac74a32cd00429bef19b088687e4ff836307" => :lion
|
2014-06-04 14:45:14 +00:00
|
|
|
end
|
|
|
|
|
2014-05-14 20:43:11 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
2013-09-12 09:27:09 +00:00
|
|
|
|
2014-05-15 02:23:08 +00:00
|
|
|
needs :cxx11
|
2013-09-12 09:27:09 +00:00
|
|
|
|
2014-05-15 02:23:08 +00:00
|
|
|
def install
|
|
|
|
ENV.cxx11
|
|
|
|
system "./autogen.sh"
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules"
|
|
|
|
system "make", "install"
|
2013-09-12 09:27:09 +00:00
|
|
|
end
|
|
|
|
end
|