21 lines
886 B
Ruby
21 lines
886 B
Ruby
class Libdvbpsi < Formula
|
|
desc "Library to decode/generate MPEG TS and DVB PSI tables"
|
|
homepage "https://www.videolan.org/developers/libdvbpsi.html"
|
|
url "https://download.videolan.org/pub/libdvbpsi/0.2.2/libdvbpsi-0.2.2.tar.bz2"
|
|
sha256 "9aa62345c8fed04a4f59524967fb154e3f9b02625666a200861555dcb9163ed3"
|
|
|
|
bottle do
|
|
cellar :any
|
|
revision 1
|
|
sha1 "83d80189475c9c8a61d1ffb726d8049c6e5bbf84" => :yosemite
|
|
sha1 "c4ee7030ab5f8f935b9f7d459520d5f856bad40e" => :mavericks
|
|
sha1 "ee8c2c2f5f7f548131b454ab29520e562fb61b1d" => :mountain_lion
|
|
end
|
|
|
|
def install
|
|
# Clang doesn't recognize O6. Just remove it. Fixes a build error.
|
|
inreplace "configure", "CFLAGS=\"${CFLAGS} -O6\"", "CFLAGS=\"${CFLAGS}\""
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--enable-release"
|
|
system "make", "install"
|
|
end
|
|
end
|