require 'formula' class VertX < Formula homepage 'http://vertx.io/' url 'http://dl.bintray.com/vertx/downloads/vert.x-2.1.2.tar.gz' sha1 'e0c49eef14f306ac9549b6f8b3ed8430b08a1cc0' def install rm_f Dir["bin/*.bat"] libexec.install %w[bin client conf lib] doc.install %w[api-docs] bin.install_symlink "#{libexec}/bin/vertx" end end