require 'formula' class Qxmpp < Formula homepage 'https://code.google.com/p/qxmpp/' url 'http://qxmpp.googlecode.com/files/qxmpp-0.7.5.tar.gz' sha1 '184f658fa5b2e001f8fb24ad7c5bfa93ddfb2eb2' depends_on 'qt' def install system "qmake", "-config", "release", "PREFIX=#{prefix}" system "make" system "make install" end end