diff options
| author | Andre Arko | 2009-09-27 20:46:08 -0700 |
|---|---|---|
| committer | Max Howell | 2009-09-30 01:24:31 +0100 |
| commit | 6015abbf505befcf619c0b1ec291976f311743e1 (patch) | |
| tree | b056cf56022f96d9fc9227f0e460fe90197a1f81 /Library/Formula | |
| parent | 08306c3129a1c03e5dcc2597befd9d70fb53cbe3 (diff) | |
| download | homebrew-6015abbf505befcf619c0b1ec291976f311743e1.tar.bz2 | |
Update znc to 0.076, with extras via config switch
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/znc.rb | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/Library/Formula/znc.rb b/Library/Formula/znc.rb index 53ae850ad..28e247bd7 100644 --- a/Library/Formula/znc.rb +++ b/Library/Formula/znc.rb @@ -1,15 +1,9 @@ require 'brewkit' -class ZncExtra <Formula - @url='http://downloads.sourceforge.net/project/znc/znc-extra/0.074/znc-extra-0.074.tar.gz' - @homepage='http://en.znc.in/wiki/ZNC' - @md5='34c0f43318c8c4a2cfb3a962e1740255' -end - class Znc <Formula - @url='http://downloads.sourceforge.net/project/znc/znc/0.074/znc-0.074.tar.gz' - @homepage='http://en.znc.in/wiki/ZNC' - @md5='378187acd114769f8f97ef2d4b19da25' + url 'http://downloads.sourceforge.net/project/znc/znc/0.076/znc-0.076.tar.gz' + homepage 'http://en.znc.in/wiki/ZNC' + md5 '03c2804b91225e83884f06078f6db568' depends_on 'c-ares' @@ -22,13 +16,7 @@ class Znc <Formula # 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}", "--disable-perl" + system "./configure", "--prefix=#{prefix}", "--enable-extra", "--disable-perl" system "make install" - - # Extra modules that don't come in the base package -- add them to the znc.conf file to enable - ZncExtra.new.brew do - system "./configure", "--prefix=#{prefix}" - system "make install" - end end end |
