require 'formula' class Libwbxml < Formula homepage 'https://libwbxml.opensync.org/' url 'http://sourceforge.net/projects/libwbxml/files/libwbxml/0.10.8/libwbxml-0.10.8.tar.gz' sha1 '7704cdf5952ff6916158bbc76aa919ceb1780957' depends_on 'cmake' => :build def install mkdir "build" do system "cmake", "..", *std_cmake_args system "make install" end end end