aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorUlrik Landberg Stephansen2011-11-04 15:44:42 -0400
committerAdam Vandenberg2012-03-31 12:54:15 -0700
commitf8f1dcb0a045773f798885f6fbec82c6bb9e254f (patch)
treefb89d5443b976830ab680e13e1d0996c51523409 /Library
parent55e31ea6489dfaf2baffcba035cabf38a3908176 (diff)
downloadhomebrew-f8f1dcb0a045773f798885f6fbec82c6bb9e254f.tar.bz2
CurlFtpFS 0.9.2
Closes #8450. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/curlftpfs.rb32
1 files changed, 32 insertions, 0 deletions
diff --git a/Library/Formula/curlftpfs.rb b/Library/Formula/curlftpfs.rb
new file mode 100644
index 000000000..e215f3454
--- /dev/null
+++ b/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