aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/apachetop.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/apachetop.rb b/Library/Formula/apachetop.rb
new file mode 100644
index 000000000..cc763124d
--- /dev/null
+++ b/Library/Formula/apachetop.rb
@@ -0,0 +1,15 @@
+require 'brewkit'
+
+class Apachetop <Formula
+ 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