homebrew-core/Formula/pax-runner.rb
Toni Menzel 7f593a42aa pax-runner 1.7.6
Closes Homebrew/homebrew#9296.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-27 18:36:28 -06:00

17 lines
507 B
Ruby

require 'formula'
class PaxRunner < Formula
version '1.7.6'
url 'http://repo1.maven.org/maven2/org/ops4j/pax/runner/pax-runner-assembly/'+ version + '/pax-runner-assembly-' + version + '-jdk15.tar.gz'
homepage 'http://team.ops4j.org'
md5 'f8bd2e0a902626baa58ae5a9df97b8e6'
def install
(bin+'pax-runner').write <<-EOS.undent
#!/bin/sh
exec java $JAVA_OPTS -cp #{libexec}/bin/pax-runner-#{version}.jar org.ops4j.pax.runner.Run "$@"
EOS
libexec.install Dir['*']
end
end