homebrew-core/Formula/udis86.rb
John Benediktsson 78a3e5c8b7 udis86: add universal option.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-23 10:23:37 -07:00

18 lines
449 B
Ruby

require 'formula'
class Udis86 < Formula
url 'http://downloads.sourceforge.net/udis86/udis86-1.7.tar.gz'
md5 'e279108e10f774e6c3af83caa18f5dc3'
homepage 'http://udis86.sourceforge.net'
def options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--enable-shared", "--prefix=#{prefix}"
system "make"
system "make install"
end
end