homebrew-core/Formula/dtach.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

19 lines
564 B
Ruby

require 'formula'
class Dtach < Formula
homepage 'http://dtach.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/dtach/dtach/0.8/dtach-0.8.tar.gz'
sha1 'fb7279e719463aa284676a78cdf96788f4f2706b'
def install
# Includes <config.h> instead of "config.h", so "." needs to be in the include path.
ENV.append "CFLAGS", "-I."
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
bin.install "dtach"
man1.install gzip("dtach.1")
end
end