diff options
| author | Fred Wenzel | 2010-03-07 13:39:42 +0100 |
|---|---|---|
| committer | David Höppner | 2010-03-07 19:31:08 +0100 |
| commit | eebecfc786672818bb86bb2ee5d7b2e5bb770e20 (patch) | |
| tree | fa426458cabf669ba5b99a2b0b0f2e9022c01ddb | |
| parent | f0f58e7d899dc8409d21fa3496e830b443df26d5 (diff) | |
| download | homebrew-eebecfc786672818bb86bb2ee5d7b2e5bb770e20.tar.bz2 | |
New formula: dvdauthor, a simple set of tools to help you author a DVD.
Signed-off-by: David Höppner <0xffea@gmail.com>
| -rw-r--r-- | Library/Formula/dvdauthor.rb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Library/Formula/dvdauthor.rb b/Library/Formula/dvdauthor.rb new file mode 100644 index 000000000..7be96be51 --- /dev/null +++ b/Library/Formula/dvdauthor.rb @@ -0,0 +1,44 @@ +require 'formula' + +class Dvdauthor <Formula + url 'http://downloads.sourceforge.net/project/dvdauthor/dvdauthor/0.6.14/dvdauthor-0.6.14.tar.gz' + homepage 'http://dvdauthor.sourceforge.net/' + md5 'bd646b47950c4091ffd781d43fd2c5e9' + + depends_on 'libdvdread' + depends_on 'libpng' + + def patches + # won't compile without including iconv headers in readxml.c + DATA + end + + def install + system "./configure", + "--prefix=#{prefix}", + "--mandir=#{man}", + "--disable-debug", + "--disable-dependency-tracking" + system "make" + + # regular install will error out due to attempts to create the same + # directories twice. mkdir -p will mitigate this. + ENV['MKDIRPROG'] = '/bin/mkdir -p' + system "make install" + end +end + +__END__ +diff --git a/src/readxml.c b/src/readxml.c +index e96f869..5ff2b5d 100644 +--- a/src/readxml.c ++++ b/src/readxml.c +@@ -28,6 +28,8 @@ + + #include <libxml/xmlreader.h> + ++#include <iconv.h> ++ + #include "readxml.h" + + #ifdef HAVE_LANGINFO_CODESET |
