2012-07-05 07:42:27 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Openrtsp < Formula
|
|
|
|
homepage 'http://www.live555.com/openRTSP'
|
2012-12-05 20:13:04 +00:00
|
|
|
url 'http://www.live555.com/liveMedia/public/live.2012.11.30.tar.gz'
|
|
|
|
sha1 'cac0c27ebbfe5173567ea6f6ab6c7b9ccbca653e'
|
2012-07-05 07:42:27 +00:00
|
|
|
|
|
|
|
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
|