require 'formula' class JbossForge < Formula homepage 'http://forge.jboss.org/' url 'https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.jboss.forge&a=forge-distribution&v=1.4.4.Final&e=zip' version '1.4.4.Final' sha1 '7c5218f9ed9c2e4986ee450f3c958d78dc3c09fd' def install rm_f Dir["bin/*.bat"] libexec.install %w{ bin modules jboss-modules.jar } bin.install_symlink libexec/'bin/forge' end end