2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-29 22:02:47 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Apachetop < Formula
|
2009-09-29 22:02:47 +00:00
|
|
|
url 'http://www.webta.org/apachetop/apachetop-0.12.6.tar.gz'
|
|
|
|
homepage 'http://www.webta.org/projects/apachetop/'
|
|
|
|
md5 '604283ac4bbbddd98fc9b1f11381657e'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--with-logfile=/var/log/apache2/access_log"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|