2010-02-08 12:05:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Dvdrtools < Formula
|
2012-01-22 18:49:09 +00:00
|
|
|
homepage 'http://savannah.nongnu.org/projects/dvdrtools/'
|
2010-02-08 12:05:01 +00:00
|
|
|
url 'http://savannah.nongnu.org/download/dvdrtools/dvdrtools-0.2.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'b8b889f73953c121acd85ce1b4ba988ef7ef6bfc'
|
2010-02-08 12:05:01 +00:00
|
|
|
|
|
|
|
def patches
|
2012-01-22 18:49:09 +00:00
|
|
|
{ :p0 => [
|
|
|
|
"https://trac.macports.org/export/89262/trunk/dports/sysutils/dvdrtools/files/patch-cdda2wav-cdda2wav.c",
|
|
|
|
"https://trac.macports.org/export/89262/trunk/dports/sysutils/dvdrtools/files/patch-cdrecord-cdrecord.c",
|
|
|
|
"https://trac.macports.org/export/89262/trunk/dports/sysutils/dvdrtools/files/patch-scsi-mac-iokit.c"
|
|
|
|
]
|
|
|
|
}
|
2010-02-08 12:05:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV['LIBS'] = '-lIOKit -framework CoreFoundation'
|
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", '--disable-debug', '--disable-dependency-tracking',
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-02-08 12:05:01 +00:00
|
|
|
system 'make install'
|
|
|
|
end
|
|
|
|
end
|