require "formula" class ApacheOpennlp < Formula homepage "http://opennlp.apache.org/" url "http://apache.mirrors.timporter.net//opennlp/opennlp-1.5.3/apache-opennlp-1.5.3-bin.tar.gz" sha1 "e14b41a4f1f1ae7fd12713bbdd8452b367bfdc9e" def install prefix.install_metafiles libexec.install Dir['*'] bin.write_exec_script libexec/'bin/opennlp' end end