Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
akka 2.0.1
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
snluu authored and adamv committed May 16, 2012
1 parent 8f7cb5e commit 4ab241b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Library/Formula/akka.rb
@@ -0,0 +1,21 @@
require 'formula'

class Akka < Formula
homepage 'http://akka.io/'
url 'http://download.akka.io/downloads/akka-2.0.1.zip'
md5 '362f9c04176ed89199ae85c6d090ee71'

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

system "chmod +x bin/akka"
libexec.install Dir["*"]
bin.install_symlink libexec/"bin/akka"
end
end

0 comments on commit 4ab241b

Please sign in to comment.