rsyslog: use options DSL

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Jack Nagel 2012-08-12 12:59:31 -05:00
parent 85c64af67f
commit 149ba166ab
1 changed files with 2 additions and 4 deletions

View File

@ -7,12 +7,10 @@ class Rsyslog < Formula
depends_on 'pkg-config' => :build
def options
[['--universal', 'Make a 32/64-bit Intel build.']]
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"
system "make install"