2010-02-01 03:22:11 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Dnstracer < Formula
|
2010-02-01 03:22:11 +00:00
|
|
|
homepage 'http://www.mavetju.org/unix/dnstracer.php'
|
2013-01-27 22:18:14 +00:00
|
|
|
url 'http://www.mavetju.org/download/dnstracer-1.9.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'b8c60b281c0eb309acd1b1551c51cccb951685c7'
|
2010-02-01 03:22:11 +00:00
|
|
|
|
|
|
|
def install
|
2010-03-06 13:50:59 +00:00
|
|
|
ENV.append 'LDFLAGS', '-lresolv'
|
2010-02-01 03:22:11 +00:00
|
|
|
|
2010-04-01 19:04:28 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-02-01 03:22:11 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|