aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libdvdcss.rb
diff options
context:
space:
mode:
authorDavid Christenson2015-02-16 23:47:24 -0700
committerJack Nagel2015-02-21 00:30:07 -0500
commita5b3265f46fd39214a84913d1d115f230c277012 (patch)
tree47d5f31f02620ef7f40c5fd6cba144932280a897 /Library/Formula/libdvdcss.rb
parent70e72a8bc019396eb5a8bd9b5a257a6ddd6bd780 (diff)
downloadhomebrew-a5b3265f46fd39214a84913d1d115f230c277012.tar.bz2
libdvdcss 1.3.99
Update to latest stable release, set head to project's git repository, use HTTPS links, update HEAD build procedure and require autotools, remove `require "formula"`. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/libdvdcss.rb')
-rw-r--r--Library/Formula/libdvdcss.rb19
1 files changed, 11 insertions, 8 deletions
diff --git a/Library/Formula/libdvdcss.rb b/Library/Formula/libdvdcss.rb
index 0b7951243..5114b6ec6 100644
--- a/Library/Formula/libdvdcss.rb
+++ b/Library/Formula/libdvdcss.rb
@@ -1,11 +1,14 @@
-require "formula"
-
class Libdvdcss < Formula
- homepage "http://www.videolan.org/developers/libdvdcss.html"
- url "http://download.videolan.org/pub/libdvdcss/1.3.0/libdvdcss-1.3.0.tar.bz2"
- sha1 "b3ccd70a510aa04d644f32b398489a3122a7e11a"
+ homepage "https://www.videolan.org/developers/libdvdcss.html"
+ url "https://download.videolan.org/pub/videolan/libdvdcss/1.3.99/libdvdcss-1.3.99.tar.bz2"
+ sha1 "4da6ae5962a837f47a915def2cd64e685ea72668"
- head "svn://svn.videolan.org/libdvdcss/trunk"
+ head do
+ url "git://git.videolan.org/libdvdcss"
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
bottle do
cellar :any
@@ -16,8 +19,8 @@ class Libdvdcss < Formula
end
def install
- system "./bootstrap" if build.head?
+ system "autoreconf", "-if" if build.head?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
- system "make install"
+ system "make", "install"
end
end