diff options
| author | Adam Vandenberg | 2011-11-27 09:04:15 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-11-27 09:04:15 -0800 |
| commit | c1c5588a4ba9a23d786c8f4d739f55f9a5466fba (patch) | |
| tree | b43845b23372feab40e24a7ee3ec0b46c07e7893 /Library/Formula | |
| parent | 60665739367a6529088c0be0de4910553cb6229d (diff) | |
| download | homebrew-c1c5588a4ba9a23d786c8f4d739f55f9a5466fba.tar.bz2 | |
omgtools: borrow patch and warning from MacPorts
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ogmtools.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/ogmtools.rb b/Library/Formula/ogmtools.rb index 766167f68..76ef14032 100644 --- a/Library/Formula/ogmtools.rb +++ b/Library/Formula/ogmtools.rb @@ -9,9 +9,23 @@ class Ogmtools < Formula depends_on 'libvorbis' depends_on 'libdvdread' => :optional + # Borrow patch from MacPorts + def patches + {:p0 => 'https://trac.macports.org/export/87593/trunk/dports/multimedia/ogmtools/files/common.h.diff'} + end + def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--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 |
