libdca: use ssl/tls url, sha256 hash, modernize

This commit is contained in:
Viktor Szakats 2015-05-27 01:20:57 +02:00 committed by Baptiste Fontaine
parent 7f16070ab0
commit d11e143450

View file

@ -1,9 +1,7 @@
require 'formula'
class Libdca < Formula
homepage 'http://www.videolan.org/developers/libdca.html'
url 'http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2'
sha1 '3fa5188eaaa2fc83fb9c4196f6695a23cb17f3bc'
homepage "http://www.videolan.org/developers/libdca.html"
url "https://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2"
sha256 "dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642"
bottle do
sha1 "3d21b7c01673aeff88a00e4986f069311e021e7e" => :yosemite
@ -19,6 +17,6 @@ class Libdca < Formula
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
system "make", "install"
end
end