Added HEAD url for mongodb

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Rafael Gaspar 2010-07-30 01:11:26 -03:00 committed by Adam Vandenberg
parent 953440a1e5
commit 524838603a

View file

@ -8,12 +8,24 @@ class Mongodb <Formula
if Hardware.is_64_bit? and not ARGV.include? '--32bit'
url 'http://downloads.mongodb.org/osx/mongodb-osx-x86_64-1.4.4.tgz'
md5 '8791c484c1580d563f1a071e5eed9fa5'
version '1.4.4-x86_64'
head 'http://downloads.mongodb.org/osx/mongodb-osx-x86_64-1.5.6.tgz'
if ARGV.build_head?
md5 'efb6948f51eb57ba411ff0ec44442485'
version '1.5.6-x86_64'
else
md5 '8791c484c1580d563f1a071e5eed9fa5'
version '1.4.4-x86_64'
end
else
url 'http://downloads.mongodb.org/osx/mongodb-osx-i386-1.4.4.tgz'
md5 '8e31cc8b8f4879812cad217ce5b49b20'
version '1.4.4-i386'
head 'http://downloads.mongodb.org/osx/mongodb-osx-i386-1.5.6.tgz'
if ARGV.build_head?
md5 '6c8fd4b5d48d867e17d9701c935f26ea'
version '1.5.6-i386'
else
md5 '8e31cc8b8f4879812cad217ce5b49b20'
version '1.4.4-i386'
end
end
def skip_clean? path