homebrew-core/Formula/akka.rb
Kashif Rasul d78d290491 akka 2.2.0
Closes Homebrew/homebrew#21147.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-11 08:53:24 -07:00

20 lines
463 B
Ruby

require 'formula'
class Akka < Formula
homepage 'http://akka.io/'
url 'http://download.akka.io/downloads/akka-2.2.0.tgz'
sha1 '47371ef87f96b8767ff8269567fd7e2cddced9cd'
def install
# Remove Windows files
rm "bin/akka.bat"
# Translate akka script
inreplace "bin/akka" do |s|
s.gsub! /^declare AKKA_HOME=.*$/, "declare AKKA_HOME=#{libexec}"
end
libexec.install Dir["*"]
bin.install_symlink libexec/"bin/akka"
end
end