2011-11-04 19:44:42 +00:00
|
|
|
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'
|
2012-07-07 18:08:22 +00:00
|
|
|
sha1 '83f148afe6bd4d44c9790790f1c30986c8b9ea56'
|
|
|
|
|
2011-11-04 19:44:42 +00:00
|
|
|
head 'https://github.com/rfw/curlftpfs.git'
|
|
|
|
|
2013-11-13 16:46:31 +00:00
|
|
|
depends_on :autoconf
|
2012-07-07 18:08:22 +00:00
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
2011-11-04 19:44:42 +00:00
|
|
|
|
2012-07-07 18:08:22 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2011-11-04 19:44:42 +00:00
|
|
|
|
2014-01-20 01:46:10 +00:00
|
|
|
depends_on 'osxfuse'
|
2011-11-04 19:44:42 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
|
|
|
|
def install
|
2013-01-07 01:27:25 +00:00
|
|
|
# Compatibility with Automake 1.13 and newer.
|
|
|
|
inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
|
|
|
|
|
2011-11-04 19:44:42 +00:00
|
|
|
system "autoreconf", "--force", "--install"
|
|
|
|
ENV.append 'CPPFLAGS', '-D__off_t=off_t'
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|