homebrew-core/Formula/lsdvd.rb
2018-08-23 16:49:40 +02:00

30 lines
1.1 KiB
Ruby

class Lsdvd < Formula
desc "Read the content info of a DVD"
homepage "https://sourceforge.net/projects/lsdvd"
url "https://downloads.sourceforge.net/project/lsdvd/lsdvd/lsdvd-0.17.tar.gz"
sha256 "7d2c5bd964acd266b99a61d9054ea64e01204e8e3e1a107abe41b1274969e488"
bottle do
cellar :any
sha256 "3db304db8d99a4e4b0c6f164b68fef1a0a961a5805af1775c5b0cc6be6b8f81a" => :mojave
sha256 "ada8d8a799f6138e42cef34f1592e7ff01278ae6b7c7e3a8e519509db2a24ce6" => :high_sierra
sha256 "d64473d3ff0f1b1b7dce0435da6305aa384a374ebca7154498770a9c66297cb7" => :sierra
sha256 "eefa4b673d38a87354cdac631ee7e7a1054e69e29e912ff52c2fa84995f7e189" => :el_capitan
sha256 "4662e19252627e7f8e344fc0f8b52e83e908f26e9253aad7590eef126ebae7f0" => :yosemite
end
depends_on "pkg-config" => :build
depends_on "libdvdread"
depends_on "libdvdcss" => :optional
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make", "install"
end
test do
system bin/"lsdvd", "--help"
end
end