mcrypt: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
0690f6eed2
commit
eca10ac892
1 changed files with 2 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue