require 'formula' class Upx < Formula url 'http://upx.sourceforge.net/download/upx-3.08-src.tar.bz2' head 'http://upx.hg.sourceforge.net:8000/hgroot/upx/upx', :using => :hg homepage 'http://upx.sourceforge.net' md5 '54c76fa52cad578ff23ef98aee91e3f5' depends_on 'ucl' def install system "make all" bin.install "src/upx.out" => "upx" end end