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

class Openrtsp < Formula
  homepage 'http://www.live555.com/openRTSP'
  url 'http://www.live555.com/liveMedia/public/live.2013.02.27.tar.gz'
  sha1 '5b89e9d532861fb389576b1dc69e8883c455a979'

  option "32-bit"

  def install
    if build.build_32_bit? || !MacOS.prefer_64_bit?
      ENV.m32
      system "./genMakefiles macosx-32bit"
    else
      system "./genMakefiles macosx"
    end

    system "make", "PREFIX=#{prefix}", "install"
  end
end