homebrew-core/Formula/libdvdread.rb

23 lines
629 B
Ruby
Raw Normal View History

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