2010-02-21 09:45:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libdvdread < Formula
|
2011-11-07 23:53:47 +00:00
|
|
|
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'
|
2010-02-21 09:45:50 +00:00
|
|
|
|
2014-05-01 21:08:51 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-05-12 13:06:52 +00:00
|
|
|
sha1 "e40c9798dfce20ff381e86aa248c40ad2b4dc54f" => :mavericks
|
|
|
|
sha1 "dfc52def86101b04cca9d0153efc87986944bfbd" => :mountain_lion
|
|
|
|
sha1 "35be8214b84e4556d6cb78513a77333ab04d85e0" => :lion
|
2014-05-01 21:08:51 +00:00
|
|
|
end
|
|
|
|
|
2012-08-23 05:55:53 +00:00
|
|
|
depends_on 'libdvdcss'
|
2010-10-29 22:01:44 +00:00
|
|
|
|
2011-03-21 20:35:53 +00:00
|
|
|
def install
|
2012-08-23 05:55:53 +00:00
|
|
|
ENV.append "CFLAGS", "-DHAVE_DVDCSS_DVDCSS_H"
|
|
|
|
ENV.append "LDFLAGS", "-ldvdcss"
|
2011-11-07 23:53:47 +00:00
|
|
|
|
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
|
2010-02-21 09:45:50 +00:00
|
|
|
end
|