diff options
| author | Andre Arko | 2009-09-05 03:07:38 -0700 |
|---|---|---|
| committer | Andre Arko | 2009-09-15 17:30:40 -0700 |
| commit | e6cffbb158431aa06727fc672ae144269af9b584 (patch) | |
| tree | c182eec0446e6aff910b3644ec7fd7f2c36cf1e6 /Library/Formula | |
| parent | a4837e77f2bab2613a63f278e22e11f2c58cb7d9 (diff) | |
| download | homebrew-e6cffbb158431aa06727fc672ae144269af9b584.tar.bz2 | |
Add znc-extras sub-package with more useful modules
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/znc.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/znc.rb b/Library/Formula/znc.rb index 106c4cf53..3087d4758 100644 --- a/Library/Formula/znc.rb +++ b/Library/Formula/znc.rb @@ -1,5 +1,11 @@ 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' @@ -22,5 +28,11 @@ class Znc <Formula # 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 "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 |
