aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorWilliam Entriken2015-04-10 11:58:53 -0400
committerMike McQuaid2015-04-12 21:32:04 -0700
commitc947546ee039a9bfc6927c1255a6db5dde053855 (patch)
treedd4ef4b8e2f1d6bf1c78b481cb8634f65b48e935 /Library
parent7d42727b09b1a1ef5f4830815b2f5b3c8bb669f0 (diff)
downloadhomebrew-c947546ee039a9bfc6927c1255a6db5dde053855.tar.bz2
rofs-filtered 1.5 (new formula)
This is my first formula, go easy. Closes #38436. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rofs-filtered.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/Library/Formula/rofs-filtered.rb b/Library/Formula/rofs-filtered.rb
new file mode 100644
index 000000000..46ff0f96d
--- /dev/null
+++ b/Library/Formula/rofs-filtered.rb
@@ -0,0 +1,29 @@
+class RofsFiltered < Formula
+ homepage "https://github.com/gburca/rofs-filtered/"
+ url "https://github.com/gburca/rofs-filtered/archive/rel-1.5.tar.gz"
+ sha256 "4c97a85e7993945e417c45cc80fcb8ad780f310142b8f94e8b3bed005733a698"
+
+ depends_on "pkg-config" => :build
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ depends_on "intltool" => :build
+ depends_on "gettext" => :build
+ depends_on :osxfuse
+ depends_on :macos => :yosemite
+
+ def install
+ ENV.prepend "CPPFLAGS", "-I#{HOMEBREW_PREFIX}/include/osxfuse/fuse"
+ system "./autogen.sh"
+ system "./configure", "--disable-dependency-tracking",
+ "--disable-silent-rules",
+ "--prefix=#{prefix}",
+ "--sysconfdir=#{etc}",
+ "--with-libfuse=#{HOMEBREW_PREFIX}"
+ system "make", "install"
+ end
+
+ test do
+ system "rofs-filtered"
+ end
+end