diff options
| author | David Christenson | 2014-09-13 21:37:38 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-09-14 01:14:22 -0500 |
| commit | bd5f0b2a6f20a19a32fbfc3cf3f97f44ffcadca3 (patch) | |
| tree | 1c468d7c8d9ec6bb51fdc5b6352a067234cf9644 /Library | |
| parent | 2cb6f99b081301612c5576d2f83dcc14dc4a6c50 (diff) | |
| download | homebrew-bd5f0b2a6f20a19a32fbfc3cf3f97f44ffcadca3.tar.bz2 | |
libdvdnav 5.0.1
Update to latest stable release, only generate configure file on HEAD
builds, use autoreconf instead of removed autogen.sh, format make
command correctly, use HTTPS on homepage URL, use double quotes instead
of single.
Closes #32293.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libdvdnav.rb | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/Library/Formula/libdvdnav.rb b/Library/Formula/libdvdnav.rb index edf0246d6..5779df076 100644 --- a/Library/Formula/libdvdnav.rb +++ b/Library/Formula/libdvdnav.rb @@ -1,11 +1,16 @@ -require 'formula' +require "formula" class Libdvdnav < Formula - homepage 'http://dvdnav.mplayerhq.hu/' - url 'http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.1.tar.xz' - sha256 '7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372' + homepage "https://dvdnav.mplayerhq.hu/" + url "http://download.videolan.org/pub/videolan/libdvdnav/5.0.1/libdvdnav-5.0.1.tar.bz2" + sha256 "72b1cb8266f163d4a1481b92c7b6c53e6dc9274d2a6befb08ffc351fe7a4a2a9" - head 'git://git.videolan.org/libdvdnav.git' + head do + url "git://git.videolan.org/libdvdnav.git" + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + end bottle do cellar :any @@ -15,13 +20,12 @@ class Libdvdnav < Formula end depends_on "pkg-config" => :build - depends_on "autoconf" => :build - depends_on "automake" => :build - depends_on "libtool" => :build depends_on "libdvdread" def install - system "./autogen.sh", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "autoreconf", "-if" if build.head? + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make", "install" end end |
