32 lines
1.3 KiB
Ruby
32 lines
1.3 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 "a04c06fd0dfa0af43f5fc8fe267842a4458689ff497530dee8c719b651afe271" => :mojave
|
|
sha256 "96a8dfe5202c586e8e338b59cf546c22e4dd481d7ba14e4f0d601ffb438e0ef9" => :high_sierra
|
|
sha256 "44f2aecc6d790eff800e1e38b5f28e9fb5cf17b9a1adf6daaf23d42196796e8c" => :sierra
|
|
sha256 "21b0fc7553f564b464b4158deaf22beeae6d2791786b6eb9af0f16de854b8009" => :el_capitan
|
|
sha256 "4d610ca926b0698aa25633af0fa5ad1e9352de396f16c7f26e9beff682d4020f" => :yosemite
|
|
end
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
depends_on "pkg-config" => :build
|
|
depends_on "glib"
|
|
depends_on :osxfuse
|
|
depends_on :x11
|
|
|
|
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
|