launch4j support, properly this time remove extra space

Closes Homebrew/homebrew#25263.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Panayotis Katsaloulis 2013-12-16 20:47:43 +02:00 committed by Adam Vandenberg
parent eda04c91ae
commit fb5b93fad8
1 changed files with 13 additions and 0 deletions

13
Formula/launch4j.rb Normal file
View File

@ -0,0 +1,13 @@
require 'formula'
class Launch4j < Formula
homepage 'http://launch4j.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/launch4j/launch4j-3/3.1.0-beta2/launch4j-3.1.0-beta2-macosx-x86.tgz'
sha1 '4a633263539613e63bc0d9c8e14dda234008f960'
version '3.1.0-beta2'
def install
libexec.install Dir['*'] - ['src', 'web']
bin.write_jar_script libexec/"launch4j.jar", "launch4j"
end
end