libdvdcss: use new dsl

This commit is contained in:
Adam Vandenberg 2012-09-03 14:00:52 -07:00
parent e054b7bde3
commit 1a9f5bd8ed

View file

@ -4,10 +4,11 @@ class Libdvdcss < Formula
homepage 'http://www.videolan.org/developers/libdvdcss.html'
url 'http://download.videolan.org/pub/libdvdcss/1.2.11/libdvdcss-1.2.11.tar.bz2'
sha1 '55d75d603071aa4bbcd7a7dcfa63c52dd0e8a104'
head 'svn://svn.videolan.org/libdvdcss/trunk'
def install
system "./bootstrap" if ARGV.build_head?
system "./bootstrap" if build.head?
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end