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.02.27.tar.gz'
|
|
sha1 '5b89e9d532861fb389576b1dc69e8883c455a979'
|
|
|
|
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
|