aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-05-14 21:23:08 -0500
committerJack Nagel2014-05-14 21:27:48 -0500
commitf8d9abbf8b6e62adc0ec7eaeed2b742d31a9c116 (patch)
treec1d48e874fe992e63195dc7bdf702cdacc33d103 /Library/Formula
parent4d031ae2e1872b865df8eda74e3a87f2bda93d21 (diff)
downloadhomebrew-f8d9abbf8b6e62adc0ec7eaeed2b742d31a9c116.tar.bz2
fswatch: modernize
- requires C++11 - use full autotools build - remove broken test
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/fswatch.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/Library/Formula/fswatch.rb b/Library/Formula/fswatch.rb
index 89abbe6c6..463f7fa75 100644
--- a/Library/Formula/fswatch.rb
+++ b/Library/Formula/fswatch.rb
@@ -1,21 +1,21 @@
-require 'formula'
+require "formula"
class Fswatch < Formula
- homepage 'https://github.com/alandipert/fswatch'
- url 'https://github.com/alandipert/fswatch/archive/v1.3.2.tar.gz'
- sha1 'af52fd305b80bc5e05217edb1d8cdce02fdb4e91'
+ homepage "https://github.com/alandipert/fswatch"
+ url "https://github.com/alandipert/fswatch/archive/v1.3.2.tar.gz"
+ sha1 "af52fd305b80bc5e05217edb1d8cdce02fdb4e91"
depends_on "autoconf" => :build
depends_on "automake" => :build
- def install
- system './autogen.sh'
- system './configure'
- system 'make'
- bin.install 'fswatch'
- end
+ needs :cxx11
- test do
- system "fswatch 2>&1| grep 'You must specify a directory to watch'"
+ def install
+ ENV.cxx11
+ system "./autogen.sh"
+ system "./configure", "--prefix=#{prefix}",
+ "--disable-dependency-tracking",
+ "--disable-silent-rules"
+ system "make", "install"
end
end