homebrew-core/Formula/dtach.rb

19 lines
537 B
Ruby
Raw Normal View History

2009-11-08 21:12:13 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Dtach < Formula
2009-11-08 21:12:13 +00:00
url 'http://downloads.sourceforge.net/project/dtach/dtach/0.8/dtach-0.8.tar.gz'
sha1 'fb7279e719463aa284676a78cdf96788f4f2706b'
2009-12-17 20:42:26 +00:00
homepage 'http://dtach.sourceforge.net/'
2009-11-08 21:12:13 +00:00
def install
2009-12-17 20:42:26 +00:00
# Includes <config.h> instead of "config.h", so "." needs to be in the include path.
2009-11-08 21:12:13 +00:00
ENV.append "CFLAGS", "-I."
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
2009-11-08 21:12:13 +00:00
system "make"
bin.install "dtach"
man1.install gzip("dtach.1")
2009-11-08 21:12:13 +00:00
end
end