homebrew-core/Formula/scala.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

13 lines
313 B
Ruby

require 'formula'
class Scala <Formula
@homepage='http://www.scala-lang.org/'
@url='http://www.scala-lang.org/downloads/distrib/files/scala-2.7.6.final.tgz'
@version='2.7.6'
@md5='82934acf64d0c026de78b84e984f6743'
def install
prefix.install Dir['*']
FileUtils.mv prefix+'man', share
end
end