homebrew-core/Formula/openrtsp.rb
Lee Hanxue f2be06b4a0 openRTSP 2013.11.26
Closes Homebrew/homebrew#24731.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-28 11:20:54 +00:00

20 lines
467 B
Ruby

require 'formula'
class Openrtsp < Formula
homepage 'http://www.live555.com/openRTSP'
url 'http://www.live555.com/liveMedia/public/live.2013.11.26.tar.gz'
sha1 '510e0d349100b748b414783c6bf5b636251d98b1'
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