homebrew-core/Formula/libdvdcss.rb

29 lines
1.1 KiB
Ruby

class Libdvdcss < Formula
desc "Access DVDs as block devices without the decryption"
homepage "https://www.videolan.org/developers/libdvdcss.html"
url "https://download.videolan.org/pub/videolan/libdvdcss/1.4.0/libdvdcss-1.4.0.tar.bz2"
sha256 "2089375984800df29a4817b37f3123c1706723342d6dab4d0a8b75c25c2c845a"
bottle do
cellar :any
rebuild 1
sha256 "bab4dbb3fbda6bdb3c21ebb1c925c242e0cc14a247fcaca552ab609710677b23" => :sierra
sha256 "c15f5de6e9bb695e3d5325c4732e83c12ac5142a5ae1ba1facc098560822b8a1" => :el_capitan
sha256 "c93bcd80c6ecdc46f9b74eeb82c5834d42c1380bd4b8070dbd9a80354d1726d7" => :yosemite
sha256 "09b948452ac6499dd896cf96ae9289028bfb73c143d93b3f73067369a690e04c" => :mavericks
end
head do
url "https://git.videolan.org/git/libdvdcss.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
system "autoreconf", "-if" if build.head?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make", "install"
end
end