require 'formula' class Gsoap < Formula homepage 'http://www.cs.fsu.edu/~engelen/soap.html' url 'http://downloads.sourceforge.net/project/gsoap2/gSOAP/gsoap_2.8.8.zip' sha1 '011b507e667d7bb76e30fc8a31055e8cf323311d' def install ENV.deparallelize system './configure', "--prefix=#{prefix}" system 'make install' end def test system "#{bin}/soapcpp2", "-v" end end