aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-14 13:12:36 -0700
committerAdam Vandenberg2011-03-14 13:12:36 -0700
commit8ac1ca28b3a14a9876099ecce7a56c2ed689acb8 (patch)
treed355935c46f3ec596e02d6fa7c71997116a146d7 /Library/Formula
parentc526a1fc5853e1db3504a7f83c06f41cbf299dcd (diff)
downloadhomebrew-8ac1ca28b3a14a9876099ecce7a56c2ed689acb8.tar.bz2
dvdauthor 0.7.0
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dvdauthor.rb37
1 files changed, 9 insertions, 28 deletions
diff --git a/Library/Formula/dvdauthor.rb b/Library/Formula/dvdauthor.rb
index 593c8082c..a5a65da78 100644
--- a/Library/Formula/dvdauthor.rb
+++ b/Library/Formula/dvdauthor.rb
@@ -1,42 +1,23 @@
require 'formula'
+# Dvdauthor will optionally detect ImageMagick or GraphicsMagick, too.
+# But we don't add either as deps because they are big.
+
class Dvdauthor < Formula
- url 'http://downloads.sourceforge.net/project/dvdauthor/dvdauthor/0.6.14/dvdauthor-0.6.14.tar.gz'
+ url 'http://downloads.sourceforge.net/project/dvdauthor/dvdauthor/0.7.0/dvdauthor-0.7.0.tar.gz'
homepage 'http://dvdauthor.sourceforge.net/'
- md5 'bd646b47950c4091ffd781d43fd2c5e9'
+ md5 '33a447fb98ab3293ac40f869eedc17ff'
+ depends_on 'pkg-config' => :build
depends_on 'libdvdread'
- depends_on 'libpng'
-
- def patches
- # won't compile without including iconv headers in readxml.c
- DATA
- end
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ ENV.x11 # For libpng, etc.
+ system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
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'
+ ENV.j1 # Install isn't parallel-safe
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