2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 00:54:56 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Mediatomb < Formula
|
2010-03-31 17:05:24 +00:00
|
|
|
homepage 'http://mediatomb.cc'
|
2011-12-07 06:36:31 +00:00
|
|
|
url 'http://downloads.sourceforge.net/mediatomb/mediatomb-0.12.1.tar.gz'
|
2010-08-27 04:35:28 +00:00
|
|
|
md5 'e927dd5dc52d3cfcebd8ca1af6f0d3c2'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2011-12-07 06:36:31 +00:00
|
|
|
# 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
|
|
|
|
|
2009-09-19 00:54:56 +00:00
|
|
|
def install
|
2010-03-31 17:05:24 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-09-19 00:54:56 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|