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

class Openrtsp < Formula
  homepage 'http://www.live555.com/openRTSP'
  url 'http://www.live555.com/liveMedia/public/live.2012.10.12.tar.gz'
  sha1 '429dca050b7ee631cc7ddced81207bbaba65a7cc'

  option "32-bit"

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

    system "make"

    cd 'testProgs' do
      bin.install 'openRTSP' ,'vobStreamer', 'playSIP'
    end
  end
end