aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/czmq.rb
blob: 8a79d8c5a6218b43055df0186508eb1b9045f8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Czmq < Formula
  homepage 'http://czmq.zeromq.org/'
  url 'http://download.zeromq.org/czmq-1.4.1.tar.gz'
  sha1 '8ddb485e9d53bca6bb703c850be40b8da70c4d74'

  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