homebrew-core/Formula/curlftpfs.rb
2018-06-28 08:32:15 -07:00

31 lines
1.2 KiB
Ruby

class Curlftpfs < Formula
desc "Filesystem for accessing FTP hosts based on FUSE and libcurl"
homepage "https://curlftpfs.sourceforge.io/"
url "https://downloads.sourceforge.net/project/curlftpfs/curlftpfs/0.9.2/curlftpfs-0.9.2.tar.gz"
sha256 "4eb44739c7078ba0edde177bdd266c4cfb7c621075f47f64c85a06b12b3c6958"
head ":pserver:anonymous:@curlftpfs.cvs.sourceforge.net:/cvsroot/curlftpfs", :using => :cvs
bottle do
cellar :any
sha256 "96a8dfe5202c586e8e338b59cf546c22e4dd481d7ba14e4f0d601ffb438e0ef9" => :high_sierra
sha256 "44f2aecc6d790eff800e1e38b5f28e9fb5cf17b9a1adf6daaf23d42196796e8c" => :sierra
sha256 "21b0fc7553f564b464b4158deaf22beeae6d2791786b6eb9af0f16de854b8009" => :el_capitan
sha256 "4d610ca926b0698aa25633af0fa5ad1e9352de396f16c7f26e9beff682d4020f" => :yosemite
end
depends_on "pkg-config" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on :x11
depends_on :osxfuse
depends_on "glib"
def install
ENV.append "CPPFLAGS", "-D__off_t=off_t"
system "autoreconf", "-fvi"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end