2010-10-29 22:06:17 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Lsdvd < Formula
|
2011-08-27 13:00:55 +00:00
|
|
|
homepage 'http://sourceforge.net/projects/lsdvd'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/lsdvd/lsdvd/0.16%20-%20I%20hate%20James%20Blunt/lsdvd-0.16.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'd5c0d32bfb220807ebdc0bfbb17679e7294791f4'
|
2010-10-29 22:06:17 +00:00
|
|
|
|
|
|
|
depends_on 'libdvdread'
|
|
|
|
depends_on 'libdvdcss' => :optional
|
|
|
|
|
2014-03-14 15:03:25 +00:00
|
|
|
patch :p0 do
|
|
|
|
url "https://trac.macports.org/export/89276/trunk/dports/sysutils/lsdvd/files/patch-configure.diff"
|
|
|
|
sha1 "d2862df4b56cbe9ccf996514a2c30721adb19f0a"
|
|
|
|
end
|
|
|
|
|
|
|
|
patch :p0 do
|
|
|
|
url "https://trac.macports.org/export/89276/trunk/dports/sysutils/lsdvd/files/patch-lsdvd_c.diff"
|
|
|
|
sha1 "1bc07f38486522c7585b89768b20afe8d0b1e7d7"
|
2012-01-23 01:07:39 +00:00
|
|
|
end
|
|
|
|
|
2010-10-29 22:06:17 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2013-01-29 05:30:03 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-10-29 22:06:17 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|