homebrew-core/Formula/ext2fuse.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

20 lines
688 B
Ruby

require 'formula'
class Ext2fuse < Formula
homepage 'http://sourceforge.net/projects/ext2fuse'
url 'https://downloads.sourceforge.net/project/ext2fuse/ext2fuse/0.8.1/ext2fuse-src-0.8.1.tar.gz'
sha1 '6a13fce7842ead1485a4f48cb57c1272d990b5a5'
depends_on 'osxfuse'
depends_on 'e2fsprogs'
def install
ENV.append "LIBS", "-losxfuse"
ENV.append "CFLAGS", "-D__FreeBSD__=10 -DENABLE_SWAPFS -I#{HOMEBREW_PREFIX}/opt/osxfuse/include/osxfuse/fuse"
ENV.append "CFLAGS", "--std=gnu89" if ENV.compiler == :clang
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end