aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-08 22:01:34 -0700
committerAdam Vandenberg2012-08-08 22:01:34 -0700
commit7b0bf07b845eb97e806877616769cab6b544a58d (patch)
tree661d3ebb2815115d324e546ed088d23cfb2653e3 /Library
parent402bd729f7e34071eda3bc2f2515a4d59cf3d024 (diff)
downloadhomebrew-7b0bf07b845eb97e806877616769cab6b544a58d.tar.bz2
check: use options dsl
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/check.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/check.rb b/Library/Formula/check.rb
index 51902cec3..b68afdeed 100644
--- a/Library/Formula/check.rb
+++ b/Library/Formula/check.rb
@@ -1,16 +1,14 @@
require 'formula'
class Check < Formula
- url 'http://downloads.sourceforge.net/project/check/check/0.9.8/check-0.9.8.tar.gz'
homepage 'http://check.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/project/check/check/0.9.8/check-0.9.8.tar.gz'
md5 '5d75e9a6027cde79d2c339ef261e7470'
- def options
- [["--universal", "Build a universal binary."]]
- end
+ option :universal
def install
- ENV.universal_binary if ARGV.build_universal?
+ ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"