2011-03-10 05:11:03 +00:00
|
|
|
class Dtach < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Emulates the detach feature of screen"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://dtach.sourceforge.net/"
|
|
|
|
url "https://downloads.sourceforge.net/project/dtach/dtach/0.8/dtach-0.8.tar.gz"
|
|
|
|
sha256 "16614ebddf8ab2811d3dc0e7f329c7de88929ac6a9632d4cb4aef7fe11b8f2a9"
|
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."
|
2010-06-24 20:42:04 +00:00
|
|
|
|
2013-01-27 22:57:59 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-06-24 20:42:04 +00:00
|
|
|
|
2009-11-08 21:12:13 +00:00
|
|
|
system "make"
|
|
|
|
bin.install "dtach"
|
2010-06-24 20:42:04 +00:00
|
|
|
man1.install gzip("dtach.1")
|
2009-11-08 21:12:13 +00:00
|
|
|
end
|
|
|
|
end
|