61b2307139
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.
11 lines
248 B
Ruby
11 lines
248 B
Ruby
require 'formula'
|
|
|
|
class Mongodb <Formula
|
|
url 'http://downloads.mongodb.org/osx/mongodb-osx-x86_64-1.1.1.tgz'
|
|
homepage 'http://www.mongodb.org/'
|
|
md5 '8d22a1a5c7ae9d84ff6092e801fd5ebf'
|
|
|
|
def install
|
|
system "cp -prv * #{prefix}"
|
|
end
|
|
end
|