2014-06-05 07:37:00 +00:00
|
|
|
require "formula"
|
2011-11-17 05:34:06 +00:00
|
|
|
|
|
|
|
class Bindfs < Formula
|
2014-06-05 07:37:00 +00:00
|
|
|
homepage "http://bindfs.org/"
|
2014-07-24 22:55:42 +00:00
|
|
|
url "http://bindfs.org/downloads/bindfs-1.12.6.tar.gz"
|
|
|
|
sha1 "2685a2a1a88f5f84d305bd47f058035949bc887a"
|
2014-06-05 07:37:00 +00:00
|
|
|
|
2014-06-05 07:50:53 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-07-25 01:33:44 +00:00
|
|
|
sha1 "46e3db6e3561d5ba4c199e54e7233aacee361fc8" => :mavericks
|
|
|
|
sha1 "e11546dca95a6fb8fd67fb180418a29984021219" => :mountain_lion
|
|
|
|
sha1 "cf04d4fd33ba8575c74c53c44a9978cc99b7cd4b" => :lion
|
2014-06-05 07:50:53 +00:00
|
|
|
end
|
|
|
|
|
2014-06-05 07:37:00 +00:00
|
|
|
head do
|
|
|
|
url "https://github.com/mpartel/bindfs.git"
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
2014-05-12 08:10:35 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
depends_on "pkg-config" => :build
|
2014-09-10 05:35:52 +00:00
|
|
|
depends_on :osxfuse
|
2011-11-17 05:34:06 +00:00
|
|
|
|
|
|
|
def install
|
2014-06-05 07:37:00 +00:00
|
|
|
if build.head?
|
|
|
|
system "./autogen.sh", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
else
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
end
|
|
|
|
|
2011-11-17 05:34:06 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/bindfs", "-V"
|
2011-11-17 05:34:06 +00:00
|
|
|
end
|
|
|
|
end
|