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/"
|
|
|
|
url "http://bindfs.org/downloads/bindfs-1.12.4.tar.gz"
|
|
|
|
sha1 "c518fdaf4e22472f0b8140c5a338493c444026b6"
|
|
|
|
|
2014-06-05 07:50:53 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "6709966a00d8bb146b5bd4e75dc37dc38db7bb88" => :mavericks
|
|
|
|
sha1 "c04026b339551e371fcd5993a9fb4ce332b45af8" => :mountain_lion
|
|
|
|
sha1 "d19667195246207f7b1eb98bae042e54e8dc26ac" => :lion
|
|
|
|
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
|
|
|
|
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
|