homebrew-core/Formula/ogmtools.rb

34 lines
1.1 KiB
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Ogmtools < Formula
homepage 'http://www.bunkus.org/videotools/ogmtools/'
2013-01-29 03:52:52 +00:00
url 'http://www.bunkus.org/videotools/ogmtools/ogmtools-1.5.tar.bz2'
sha1 'a23ba7e6ac490ffb60e8fb739e790b7a020a444c'
depends_on 'libogg'
depends_on 'libvorbis'
depends_on 'libdvdread' => :optional
# Borrow patch from MacPorts
2014-03-14 15:03:25 +00:00
patch :p0 do
url "https://trac.macports.org/export/87593/trunk/dports/multimedia/ogmtools/files/common.h.diff"
sha1 "cd7206eebbe939f1c4e0203c612ad5aeb6d8ea56"
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
2013-01-29 03:52:52 +00:00
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
# Borrow warning from MacPorts
def caveats; <<-EOS.undent
Ogmtools has not been updated since 2004 and is no longer being developed,
maintained or supported. There are several issues, especially on 64-bit
architectures, which the author will not fix or accept patches for.
Keep this in mind when deciding whether to use this software.
EOS
end
end