homebrew-core/Formula/libdvdread.rb

28 lines
806 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libdvdread < Formula
homepage 'http://dvdnav.mplayerhq.hu/'
2014-05-12 10:47:37 +00:00
url 'http://download.videolan.org/pub/videolan/libdvdread/4.9.9/libdvdread-4.9.9.tar.bz2'
sha256 'ffcf51c8596f5b052e95c50f2555d15f645d652b153afde2ab4c0733dde69fbb'
2012-07-17 17:05:34 +00:00
2014-05-12 10:47:37 +00:00
head 'git://git.videolan.org/libdvdread.git'
2014-05-01 21:08:51 +00:00
bottle do
cellar :any
sha1 "e40c9798dfce20ff381e86aa248c40ad2b4dc54f" => :mavericks
sha1 "dfc52def86101b04cca9d0153efc87986944bfbd" => :mountain_lion
sha1 "35be8214b84e4556d6cb78513a77333ab04d85e0" => :lion
2014-05-01 21:08:51 +00:00
end
depends_on 'libdvdcss'
2011-03-21 20:35:53 +00:00
def install
ENV.append "CFLAGS", "-DHAVE_DVDCSS_DVDCSS_H"
ENV.append "LDFLAGS", "-ldvdcss"
2014-05-12 10:47:37 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2011-03-21 20:35:53 +00:00
system "make install"
end
end