aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Christenson2014-09-13 21:41:40 -0600
committerJack Nagel2014-09-14 01:13:26 -0500
commit31ef571f6d1a1d01b2e3cafe0bde007d45211bd9 (patch)
tree7984f31cc142d0d1413802adccb733f47988c50d /Library
parent0d19d08191dad4f195a129a98189d8cf90bb8270 (diff)
downloadhomebrew-31ef571f6d1a1d01b2e3cafe0bde007d45211bd9.tar.bz2
libdvdread 5.0.0
Update to latest stable release, generate configure file on HEAD builds, format make command properly, use HTTPS on homepage URL, use double quotes instead of single. Closes #32292. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libdvdread.rb20
1 files changed, 13 insertions, 7 deletions
diff --git a/Library/Formula/libdvdread.rb b/Library/Formula/libdvdread.rb
index dc87b7af7..c6b978f18 100644
--- a/Library/Formula/libdvdread.rb
+++ b/Library/Formula/libdvdread.rb
@@ -1,11 +1,16 @@
-require 'formula'
+require "formula"
class Libdvdread < Formula
- homepage 'http://dvdnav.mplayerhq.hu/'
- url 'http://download.videolan.org/pub/videolan/libdvdread/4.9.9/libdvdread-4.9.9.tar.bz2'
- sha256 'ffcf51c8596f5b052e95c50f2555d15f645d652b153afde2ab4c0733dde69fbb'
+ homepage "https://dvdnav.mplayerhq.hu/"
+ url "http://download.videolan.org/pub/videolan/libdvdread/5.0.0/libdvdread-5.0.0.tar.bz2"
+ sha256 "66fb1a3a42aa0c56b02547f69c7eb0438c5beeaf21aee2ae2c6aa23ea8305f14"
- head 'git://git.videolan.org/libdvdread.git'
+ head do
+ url "git://git.videolan.org/libdvdread.git"
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
bottle do
cellar :any
@@ -14,14 +19,15 @@ class Libdvdread < Formula
sha1 "35be8214b84e4556d6cb78513a77333ab04d85e0" => :lion
end
- depends_on 'libdvdcss'
+ depends_on "libdvdcss"
def install
ENV.append "CFLAGS", "-DHAVE_DVDCSS_DVDCSS_H"
ENV.append "LDFLAGS", "-ldvdcss"
+ system "autoreconf", "-if" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
end
end