aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/openrtsp.rb
blob: ff921e933f9b8317c14d2276f200827fa9228f74 (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.10.03.tar.gz'
  sha1 '3a99027f58c75f7d0203827c6aef176c7b8ea798'

  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