mongodb: use arch requirement
This commit is contained in:
parent
bcb3add83c
commit
85fb44b1ed
1 changed files with 1 additions and 16 deletions
|
@ -1,27 +1,12 @@
|
|||
require 'formula'
|
||||
|
||||
class SixtyFourBitRequired < Requirement
|
||||
fatal true
|
||||
|
||||
satisfy MacOS.prefer_64_bit?
|
||||
|
||||
def message; <<-EOS.undent
|
||||
32-bit MongoDB binaries are no longer available.
|
||||
|
||||
If you need to run a 32-bit version of MongoDB, you can
|
||||
compile the server from source:
|
||||
http://www.mongodb.org/display/DOCS/Building+for+OS+X
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
||||
class Mongodb < Formula
|
||||
homepage 'http://www.mongodb.org/'
|
||||
url 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.4.2.tgz'
|
||||
sha1 'e4e6a001a39b39a875bd24db986f3445400a8b64'
|
||||
version '2.4.2-x86_64'
|
||||
|
||||
depends_on SixtyFourBitRequired
|
||||
depends_on :arch => :x86_64
|
||||
|
||||
def install
|
||||
# Copy the prebuilt binaries to prefix
|
||||
|
|
Loading…
Reference in a new issue