Skip to content

Instantly share code, notes, and snippets.

@bwmcadams
Created October 31, 2010 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bwmcadams/656941 to your computer and use it in GitHub Desktop.
Save bwmcadams/656941 to your computer and use it in GitHub Desktop.
Homebrew recipe for Scala 2.8.1 RC4
require 'formula'
class Scala <Formula
homepage 'http://www.scala-lang.org/'
url 'http://www.scala-lang.org/downloads/distrib/files/scala-2.8.1.RC4.tgz'
version '2.8.1.RC4'
md5 '835f07e494004b33b82ded8f9b291cb1'
def install
rm_f Dir["bin/*.bat"]
doc.install Dir['doc/*']
man1.install Dir['man/man1/*']
libexec.install Dir['*']
bin.mkpath
Dir["#{libexec}/bin/*"].each { |f| ln_s f, bin }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment