homebrew-core/Formula/mediatomb.rb
Alexandre Fiori b779803a9c mediatomb: bugfix for recent libav/ffmpeg
See https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/784431 for details.

Closes Homebrew/homebrew#9016.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-18 13:48:34 -07:00

20 lines
638 B
Ruby

require 'formula'
class Mediatomb < Formula
homepage 'http://mediatomb.cc'
url 'http://downloads.sourceforge.net/mediatomb/mediatomb-0.12.1.tar.gz'
md5 'e927dd5dc52d3cfcebd8ca1af6f0d3c2'
# This is for libav 0.7 support. See:
# https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/784431
# http://sourceforge.net/tracker/?func=detail&aid=3291062&group_id=129766&atid=715780
def patches
"https://launchpadlibrarian.net/71985647/libav_0.7_support.patch"
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end