95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
25 lines
839 B
Ruby
25 lines
839 B
Ruby
class Libmpeg2 < Formula
|
|
desc "Library to decode mpeg-2 and mpeg-1 video streams"
|
|
homepage "http://libmpeg2.sourceforge.net/"
|
|
url "http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz"
|
|
sha256 "dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4"
|
|
|
|
bottle do
|
|
cellar :any
|
|
revision 1
|
|
sha1 "39cdc686342af5981a71b97ac6c1682b5faf547c" => :yosemite
|
|
sha1 "24e079241e46a6bad3527ea0662cb79b8c74260c" => :mavericks
|
|
sha1 "6e13bb1b550c921c749cacf50792efdd2f6a8903" => :mountain_lion
|
|
end
|
|
|
|
depends_on "sdl"
|
|
|
|
def install
|
|
# Otherwise compilation fails in clang with `duplicate symbol ___sputc`
|
|
ENV.append_to_cflags "-std=gnu89"
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|