homebrew-core/Formula/app-engine-java-sdk.rb
Peter Robinett f3f5e95dd5 Upgrade app-engine-java-sdk to 1.4.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-25 11:18:38 -08:00

24 lines
557 B
Ruby

require 'formula'
class AppEngineJavaSdk <Formula
url 'http://googleappengine.googlecode.com/files/google_appengine_1.4.2.zip'
homepage 'http://code.google.com/appengine/docs/java/overview.html'
sha1 '132d50710b1337169981cd78914d36df29aea722'
def shim_script target
<<-EOS.undent
#!/bin/bash
#{libexec}/bin/#{target} $*
EOS
end
def install
rm Dir['bin/*.cmd']
libexec.install Dir['*']
Dir["#{libexec}/bin/*"].each do |b|
n = Pathname.new(b).basename
(bin+n).write shim_script(n)
end
end
end