homebrew-core/Formula/scala.rb

15 lines
343 B
Ruby
Raw Normal View History

require 'formula'
class Scala <Formula
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'
def install
man1.install Dir['man/man1/*']
FileUtils.rm_f Dir["bin/*.bat"]
prefix.install Dir['*']
end
end