homebrew-core/Formula/czmq.rb
Jay Han 48a03afbfd cqmz: Add universal option
so that both 32-bit and 64-bit libraries get installed.

Closes Homebrew/homebrew#15366.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-10-11 08:06:55 -07:00

18 lines
445 B
Ruby

require 'formula'
class Czmq < Formula
homepage 'http://czmq.zeromq.org/'
url 'http://download.zeromq.org/czmq-1.2.0.tar.gz'
sha1 '826830df72443edb4646283cd5b490683af6df2a'
option :universal
depends_on 'zeromq'
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end