abfcd1f791
Closes Homebrew/homebrew#21503. Signed-off-by: Jack Nagel <jacknagel@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.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
|