homebrew-core/Formula/akka.rb
Kashif Rasul d5bcd387dc akka 2.3.2
Closes Homebrew/homebrew#28671.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2014-04-24 11:44:10 -05:00

20 lines
464 B
Ruby

require 'formula'
class Akka < Formula
homepage 'http://akka.io/'
url 'http://downloads.typesafe.com/akka/akka-2.3.2.tgz'
sha1 '49d725f25b99cf141938da6fd067d41bcd8e317d'
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