ogmtools now creates man pages in correct directory

ogmtools now builds dvdxchap (to extract dvd chapter information)
added libdvdread dependency for dvdxchap

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Keenan Brock 2010-02-21 04:45:50 -05:00 committed by Adam Vandenberg
parent b99e95f7d6
commit c1237f528c
2 changed files with 15 additions and 1 deletions

12
Formula/libdvdread.rb Normal file
View file

@ -0,0 +1,12 @@
require 'formula'
class Libdvdread <Formula
url 'http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-0.9.7.tar.gz'
homepage 'http://www.dtek.chalmers.se/groups/dvd/'
md5 '078788c9241ae16763529e1235502337'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--mandir=#{man}"
system "make install"
end
end

View file

@ -7,9 +7,11 @@ class Ogmtools <Formula
depends_on 'libogg'
depends_on 'libvorbis'
depends_on 'libdvdread' => :optional
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--mandir=#{prefix}/share"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end