ed03e022f1
Closes Homebrew/homebrew#23065. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
20 lines
467 B
Ruby
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.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
|