blob: d6b441bd423cb707231176305ba48dc54ec4c4c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
require 'formula'
require 'hardware'
class Mongodb <Formula
homepage 'http://www.mongodb.org/'
if Hardware.is_64_bit? and not ARGV.include? '--32bit'
url 'http://downloads.mongodb.org/osx/mongodb-osx-x86_64-1.1.4.tgz'
md5 '77744c7cd163c3c10b4763a59f20561e'
version '1.1.4-x86_64'
else
url 'http://downloads.mongodb.org/osx/mongodb-osx-i386-1.1.4.tgz'
md5 '4b6cbcccf10fa6e65b6450f9b098cb27'
version '1.1.4-i386'
end
def skip_clean? path
true
end
def install
system "cp -prv * #{prefix}"
end
end
|