Skip to content

Commit

Permalink
CurlFtpFS 0.9.2
Browse files Browse the repository at this point in the history
Closes Homebrew#8450.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
ulrikls authored and adamv committed Mar 31, 2012
1 parent 55e31ea commit f8f1dcb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Library/Formula/curlftpfs.rb
@@ -0,0 +1,32 @@
require 'formula'

class Curlftpfs < Formula
homepage 'http://curlftpfs.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/curlftpfs/curlftpfs/0.9.2/curlftpfs-0.9.2.tar.gz'
md5 'b452123f755114cd4461d56c648d9f12'
head 'https://github.com/rfw/curlftpfs.git'

depends_on 'pkg-config' => :build

if MacOS.xcode_version >= "4.3"
depends_on "automake" => :build
depends_on "libtool" => :build
end

depends_on 'fuse4x'
depends_on 'glib'

def install
system "autoreconf", "--force", "--install"
ENV.append 'CPPFLAGS', '-D__off_t=off_t'
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 fuse4x-kext`
before trying to use a FUSE-based filesystem.
EOS
end
end

0 comments on commit f8f1dcb

Please sign in to comment.