2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-04 01:26:09 +00:00
|
|
|
|
|
|
|
class Scala <Formula
|
2010-07-14 16:52:07 +00:00
|
|
|
homepage 'http://www.scala-lang.org/'
|
|
|
|
url 'http://www.scala-lang.org/downloads/distrib/files/scala-2.8.0.final.tgz'
|
|
|
|
version '2.8.0'
|
|
|
|
md5 'f250015d178f05b08bd53baba55c5d46'
|
2009-09-04 01:26:09 +00:00
|
|
|
|
|
|
|
def install
|
2010-02-18 18:22:20 +00:00
|
|
|
man1.install Dir['man/man1/*']
|
|
|
|
FileUtils.rm_f Dir["bin/*.bat"]
|
2009-09-04 01:26:09 +00:00
|
|
|
prefix.install Dir['*']
|
|
|
|
end
|
|
|
|
end
|