homebrew-core/Formula/znc.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

21 lines
659 B
Ruby

require 'formula'
class Znc <Formula
url 'http://downloads.sourceforge.net/project/znc/znc/0.092/znc-0.092.tar.gz'
md5 'e800a70c932dd13bc09b63569b49db3a'
homepage 'http://en.znc.in/wiki/ZNC'
depends_on 'c-ares'
depends_on 'pkg-config' => :optional
skip_clean 'bin/znc'
skip_clean 'bin/znc-config'
skip_clean 'bin/znc-buildmod'
def install
# Apparently Snow Leopard's libperl is at /System/Library/Perl/lib/5.10/libperl.dylib
# but I don't know how to tell znc that. Perl is only used for user plugins, anyway.
system "./configure", "--prefix=#{prefix}", "--enable-extra", "--disable-perl"
system "make install"
end
end