2010-08-13 03:26:21 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class SyslogNg < Formula
|
2010-12-21 22:45:57 +00:00
|
|
|
url 'http://www.balabit.com/downloads/files?path=/syslog-ng/sources/3.2.1/source/syslog-ng_3.2.1.tar.gz'
|
2010-08-13 03:26:21 +00:00
|
|
|
homepage 'http://www.balabit.com/network-security/syslog-ng/'
|
2010-12-21 22:45:57 +00:00
|
|
|
md5 'c0160053e24a0408d08bbfd454b110df'
|
2010-08-13 03:26:21 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-08-13 03:26:21 +00:00
|
|
|
depends_on 'pcre'
|
|
|
|
depends_on 'eventlog'
|
2010-12-21 22:45:57 +00:00
|
|
|
depends_on 'glib'
|
2010-08-13 03:26:21 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--enable-dynamic-linking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|