homebrew-core/Formula/openrtsp.rb
Stefan abfcd1f791 openrtsp 2013.07.16
Closes Homebrew/homebrew#21503.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-28 15:54:41 -05: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.07.16.tar.gz'
sha1 'ef5796d8769f7d609d0a0ec95867623b4af1e0b3'
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