homebrew-core/Formula/ifuse.rb
Stefan 6f3f1e5c68 ifuse: use osxfuse
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-01-21 15:23:41 -06:00

35 lines
860 B
Ruby

require 'formula'
class Ifuse < Formula
homepage 'http://www.libimobiledevice.org/'
url 'http://www.libimobiledevice.org/downloads/ifuse-1.1.2.tar.bz2'
sha1 '885d88b45edb85c38b0ce9863f0d45fd378b5614'
head do
url 'http://cgit.sukimashita.com/ifuse.git'
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build
end
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'libimobiledevice'
depends_on 'osxfuse'
def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def caveats
<<-EOS.undent
Make sure to follow the directions given by `brew info osxfuse`
before trying to use a FUSE-based filesystem.
EOS
end
end