Permalink
Browse files

Added HEAD url for mongodb

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent bef69f5 commit f14b2b136fced78e1b813945c58206b4365ef84d Rafael Gaspar committed with adamv Jul 30, 2010
Showing with 16 additions and 4 deletions.
  1. +16 −4 Library/Formula/mongodb.rb
@@ -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

0 comments on commit f14b2b1

Please sign in to comment.