2010-07-28 00:31:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Webalizer < Formula
|
2010-07-28 00:31:50 +00:00
|
|
|
homepage 'http://www.mrunix.net/webalizer/'
|
2012-03-11 00:12:46 +00:00
|
|
|
url 'ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.23-05-src.tgz'
|
|
|
|
version '2.23-05'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'bc28ff28d9484c8e9793ec081c7cbfcb1f577351'
|
2010-07-28 00:31:50 +00:00
|
|
|
|
|
|
|
depends_on 'gd'
|
2012-03-11 00:12:46 +00:00
|
|
|
depends_on 'berkeley-db'
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :libpng
|
2010-07-28 00:31:50 +00:00
|
|
|
|
|
|
|
def install
|
2012-06-07 01:35:12 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2010-10-19 19:08:10 +00:00
|
|
|
"--prefix=#{prefix}"
|
2010-07-28 00:31:50 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|