Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

New formula: Akka 2.0.1 #12042

Closed
wants to merge 3 commits into from

2 participants

@sluu99

Tested on:

  • Lion 10.7.3 + brew 0.9 + Xcode 4.0
  • Lion 10.7.3 + brew 0.9 + Xcode 4.3
@adamv
Owner

Are akka versions deeply tied to Scala versions?

@sluu99

Actually no. I forgot to remove the requirement. Akka comes with scala-library.jar

@adamv
Owner

Remove it; don't comment it out.

@sluu99

Done.

@sluu99

Ping!?

@adamv
Owner

Added as 4ab241b

@adamv adamv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 3, 2012
  1. @sluu99

    Added formula for akka 2.0.1

    sluu99 authored
Commits on May 4, 2012
  1. @sluu99
  2. @sluu99

    Removed scala dependency

    sluu99 authored
This page is out of date. Refresh to see the latest.
Showing with 23 additions and 0 deletions.
  1. +23 −0 Library/Formula/akka.rb
View
23 Library/Formula/akka.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Akka < Formula
+ url 'http://download.akka.io/downloads/akka-2.0.1.zip'
+ homepage 'http://akka.io/'
+ md5 '362f9c04176ed89199ae85c6d090ee71'
+ version '2.0.1'
+
+ def install
+ # Translate akka script
+ inreplace "bin/akka", /^declare AKKA_HOME=.*$/, "declare AKKA_HOME=#{prefix}"
+ inreplace "bin/akka", /\$AKKA_HOME\/lib\//, "$AKKA_HOME/libexec/"
+
+ # Remove Windows bat file - unnecessary
+ rm "bin/akka.bat"
+
+ # Move JAR files to libexec
+ mv "lib", "libexec"
+
+ # install into prefix directory
+ prefix.install Dir["*"]
+ end
+end
Something went wrong with that request. Please try again.