homebrew-core/Formula/launch4j.rb

15 lines
469 B
Ruby

class Launch4j < Formula
desc "Cross-platform Java executable wrapper"
homepage "http://launch4j.sourceforge.net/"
url "https://downloads.sourceforge.net/project/launch4j/launch4j-3/3.5/launch4j-3.5-macosx-x86-10.8.tgz"
version "3.5"
sha256 "d994287342c0bbeaf3b967ccbf9bfb18d1a5b7123bca529c79760e67d6fd1e5f"
bottle :unneeded
def install
libexec.install Dir["*"] - ["src", "web"]
bin.write_jar_script libexec/"launch4j.jar", "launch4j"
end
end