diff options
| author | Jack Nagel | 2012-08-12 12:57:18 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-12 13:01:00 -0500 |
| commit | b34f44f74546456a9d068e037e5b1e3f894acce6 (patch) | |
| tree | 5eed4e5fe89bcfc3b81b3ed479e55beb8e3bbf92 | |
| parent | 465314fe5017f000ae3adb88cb82510023410496 (diff) | |
| download | homebrew-b34f44f74546456a9d068e037e5b1e3f894acce6.tar.bz2 | |
mcrypt: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/mcrypt.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/mcrypt.rb b/Library/Formula/mcrypt.rb index 14908eacc..60d632048 100644 --- a/Library/Formula/mcrypt.rb +++ b/Library/Formula/mcrypt.rb @@ -5,12 +5,10 @@ class Mcrypt < Formula homepage 'http://mcrypt.sourceforge.net' md5 '0821830d930a86a5c69110837c55b7da' - 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-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" system "make install" |
