2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-03 17:18:48 +00:00
|
|
|
|
|
|
|
class Znc <Formula
|
2011-02-22 03:28:37 +00:00
|
|
|
url 'http://znc.in/releases/archive/znc-0.096.tar.gz'
|
2010-12-20 03:06:59 +00:00
|
|
|
md5 '38eec4f1911a68b4d2fc704170e7cbf6'
|
2009-09-28 03:46:08 +00:00
|
|
|
homepage 'http://en.znc.in/wiki/ZNC'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'c-ares'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2009-09-28 21:06:53 +00:00
|
|
|
skip_clean 'bin/znc'
|
2010-01-14 20:59:07 +00:00
|
|
|
skip_clean 'bin/znc-config'
|
|
|
|
skip_clean 'bin/znc-buildmod'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2009-09-03 17:18:48 +00:00
|
|
|
def install
|
2010-12-20 03:06:59 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--enable-extra"
|
2009-09-03 17:18:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|