homebrew-core/Formula/curlftpfs.rb

32 lines
1.1 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"
license "GPL-2.0-only"
revision 1
head ":pserver:anonymous:@curlftpfs.cvs.sourceforge.net:/cvsroot/curlftpfs", using: :cvs
bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, x86_64_linux: "e852eed1a4b62dcf25f16c5cbbb1b32e023f40cb61b27498eab4f7ee569d6c39"
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "curl"
depends_on "glib"
depends_on "libfuse@2"
depends_on :linux # on macOS, requires closed-source macFUSE
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