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.3.99/libdvdcss-1.3.99.tar.bz2" sha256 "08b0fab9171b338cbbe07b3a4ea227d991d5f1665717780df5030abbbd9b5c5d" 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 sha256 "b46bbb4c0171ba189a991e8b6c6248e8f5d2b84ccb9ba10a7e36659281383514" => :el_capitan sha1 "21e2c0560bfa1f83f08b2e7a8fc614e2b0226e8e" => :yosemite sha1 "ed34b81016c034c1f713848a1e787984890e59d2" => :mavericks sha1 "3f9e50d90d73539176075d5ce71d1329437745ed" => :mountain_lion end def install system "autoreconf", "-if" if build.head? system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" system "make", "install" end end