d55f4697f1
Update to latest stable release, remove unnecessary patch, only use Autotools with HEAD.
35 lines
868 B
Ruby
35 lines
868 B
Ruby
require "formula"
|
|
|
|
class Bindfs < Formula
|
|
homepage "http://bindfs.org/"
|
|
url "http://bindfs.org/downloads/bindfs-1.12.4.tar.gz"
|
|
sha1 "c518fdaf4e22472f0b8140c5a338493c444026b6"
|
|
|
|
head do
|
|
url "https://github.com/mpartel/bindfs.git"
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "osxfuse"
|
|
|
|
def install
|
|
if build.head?
|
|
system "./autogen.sh", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
else
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
end
|
|
|
|
system "make install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/bindfs", "-V"
|
|
end
|
|
end
|