homebrew-core/Formula/openrtsp.rb

21 lines
463 B
Ruby
Raw Normal View History

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