2011-05-14 11:15:11 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class PaxRunner < Formula
|
2011-12-23 15:27:13 +00:00
|
|
|
homepage 'http://team.ops4j.org'
|
2012-04-05 04:17:36 +00:00
|
|
|
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'
|
2011-12-23 15:27:13 +00:00
|
|
|
md5 'f8bd2e0a902626baa58ae5a9df97b8e6'
|
2011-05-14 11:15:11 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
(bin+'pax-runner').write <<-EOS.undent
|
|
|
|
#!/bin/sh
|
2011-12-23 15:27:13 +00:00
|
|
|
exec java $JAVA_OPTS -cp #{libexec}/bin/pax-runner-#{version}.jar org.ops4j.pax.runner.Run "$@"
|
2011-05-14 11:15:11 +00:00
|
|
|
EOS
|
|
|
|
|
|
|
|
libexec.install Dir['*']
|
|
|
|
end
|
|
|
|
end
|