homebrew-core/Formula/pax-runner.rb
Jack Nagel 67625aef28 pax-runner: spell out URL
Upcoming changes to formula specs may forbid using a class instance
variable in this manner, and it's easier to copy/paste anyway.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-04 23:47:23 -05:00

17 lines
488 B
Ruby

require 'formula'
class PaxRunner < Formula
homepage 'http://team.ops4j.org'
url 'http://repo1.maven.org/maven2/org/ops4j/pax/runner/pax-runner-assembly/1.7.6/pax-runner-assembly-1.7.6-jdk15.tar.gz'
version '1.7.6'
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