diff options
| author | Jack Nagel | 2012-08-12 19:03:17 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-12 19:03:17 -0500 |
| commit | 5056906c0ee27ff3ac6afd7048cc85754c2151a6 (patch) | |
| tree | fbe3949a49fdd3c8763ed68c1a002113b7237224 /Library/Formula | |
| parent | b13339ab61696fcdbc7fd0c73b3f3d6265783dac (diff) | |
| download | homebrew-5056906c0ee27ff3ac6afd7048cc85754c2151a6.tar.bz2 | |
riak: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/riak.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/riak.rb b/Library/Formula/riak.rb index 44a219476..e8807dedb 100644 --- a/Library/Formula/riak.rb +++ b/Library/Formula/riak.rb @@ -3,7 +3,7 @@ require 'formula' class Riak < Formula homepage 'http://wiki.basho.com/Riak.html' - if Hardware.is_64_bit? and not ARGV.build_32_bit? + if Hardware.is_64_bit? and not build.build_32_bit? url 'http://s3.amazonaws.com/downloads.basho.com/riak/1.2/1.2.0/osx/10.4/riak-1.2.0-osx-x86_64.tar.gz' version '1.2.0-x86_64' sha256 '5681d37377a5efe3553efc2efc1fce81e26168252dc130f7b40d2b6cfa1da9e4' @@ -15,9 +15,7 @@ class Riak < Formula skip_clean :all - def options - [['--32-bit', 'Build 32-bit only.']] - end + option '32-bit' def install libexec.install Dir['*'] |
