homebrew-core/Formula/colloquypush.rb

15 lines
338 B
Ruby
Raw Normal View History

require 'formula'
class Colloquypush <Formula
head 'git://github.com/wired/colloquypush.git'
homepage 'https://github.com/wired/colloquypush'
depends_on 'znc'
def install
Dir.chdir("znc")
system "znc-buildmod", "colloquy.cpp"
system "install", "-m", "0755", "colloquy.so", %x[znc-config --moddir].strip()
end
end