homebrew-core/Formula/libdvdread.rb
mccraig mccraig of the clan mccraig da9f9712db libdvdread: add dvdbackup compatibility patch
Required for dvdbackup to build with libdvdread 4.1.3; see
http://dvdbackup.sourceforge.net/

Fixes Homebrew/homebrew#5930 and Homebrew/homebrew#5335.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-29 13:55:53 -05:00

22 lines
629 B
Ruby

require 'formula'
class Libdvdread < Formula
homepage 'http://www.dtek.chalmers.se/groups/dvd/'
# Official site is down; use a mirror.
url 'http://www.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdread-4.1.3.tar.bz2'
md5 '6dc068d442c85a3cdd5ad3da75f6c6e8'
depends_on 'libdvdcss' => :optional
def patches
# compatibility patch provided by dvdbackup
"http://dvdbackup.sourceforge.net/DVDFileStat.patch"
end
def install
system "./autogen.sh"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end