2012-07-05 07:42:27 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Openrtsp < Formula
|
|
|
|
homepage 'http://www.live555.com/openRTSP'
|
2014-02-18 16:38:53 +00:00
|
|
|
url 'http://live555.com/liveMedia/public/live.2014.02.17.tar.gz'
|
|
|
|
sha1 '6a769a3541a6e94a56fd788843240a860d777bb1'
|
2012-07-05 07:42:27 +00:00
|
|
|
|
|
|
|
option "32-bit"
|
|
|
|
|
|
|
|
def install
|
|
|
|
if build.build_32_bit? || !MacOS.prefer_64_bit?
|
2013-03-05 00:24:06 +00:00
|
|
|
ENV.m32
|
2012-07-05 07:42:27 +00:00
|
|
|
system "./genMakefiles macosx-32bit"
|
|
|
|
else
|
|
|
|
system "./genMakefiles macosx"
|
|
|
|
end
|
|
|
|
|
2013-03-05 00:24:06 +00:00
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
2012-07-05 07:42:27 +00:00
|
|
|
end
|
|
|
|
end
|