cdimgtools 0.3 - strip CSS copy protection from DVDs

Closes Homebrew/homebrew#25827.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Pascal Germroth 2014-01-12 04:42:12 +01:00 committed by Adam Vandenberg
parent cb05aed335
commit 6e692d6693

21
Formula/cdimgtools.rb Normal file
View file

@ -0,0 +1,21 @@
require 'formula'
class Cdimgtools < Formula
homepage 'http://home.gna.org/cdimgtools/'
url 'http://download.gna.org/cdimgtools/cdimgtools-0.3.tar.gz'
sha1 'bc4d9f7b50aa59e3f4f32fc61c01b6a8241eb1af'
head 'https://git.gitorious.org/cdimgtools/cdimgtools.git'
depends_on 'libdvdcss'
depends_on 'libdvdread'
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install", "install-doc-man"
end
test do
system "#{bin}/dvdimgdecss", "-V"
system "#{bin}/cssdec", "-V"
end
end