Mongodb 1.8.1

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Andrew Nesbitt 2011-04-06 14:18:10 -07:00 committed by Adam Vandenberg
parent e8ddf0f26f
commit 4384947b3f

View file

@ -4,33 +4,18 @@ require 'hardware'
class Mongodb < Formula
homepage 'http://www.mongodb.org/'
if ARGV.build_head?
packages = {
:x86_64 => {
:url => 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-1.8.1-rc1.tgz',
:md5 => '76597bddbc36b6f75d1f8c9af499f3ba',
:version => '1.8.0-x86_64'
},
:i386 => {
:url => 'http://fastdl.mongodb.org/osx/mongodb-osx-i386-1.8.1-rc1.tgz',
:md5 => '73c9514d7cbf4263f7ae3c6442f7ff90',
:version => '1.8.0-i386'
}
packages = {
:x86_64 => {
:url => 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-1.8.1.tgz',
:md5 => 'bba118bd6ba6a0db83aa5b7cff2f21fb',
:version => '1.8.1-x86_64'
},
:i386 => {
:url => 'http://fastdl.mongodb.org/osx/mongodb-osx-i386-1.8.1.tgz',
:md5 => '286109a07e3fdb265d4602571e965ec3',
:version => '1.8.1-i386'
}
else
packages = {
:x86_64 => {
:url => 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-1.8.0.tgz',
:md5 => 'bba118bd6ba6a0db83aa5b7cff2f21fb',
:version => '1.8.0-x86_64'
},
:i386 => {
:url => 'http://fastdl.mongodb.org/osx/mongodb-osx-i386-1.8.0.tgz',
:md5 => '286109a07e3fdb265d4602571e965ec3',
:version => '1.8.0-i386'
}
}
end
}
package = (Hardware.is_64_bit? and not ARGV.include? '--32bit') ? packages[:x86_64] : packages[:i386]