aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-04-21 08:54:45 -0700
committerAdam Vandenberg2012-04-21 08:54:45 -0700
commit4f4ada9cadc3996077c7fed23c16aa54dea79acd (patch)
tree11820ff11dd9725269854c9b3fedebf4d4147680 /Library/Formula
parent05299a4271e0018b98b3f047f9fa3b627894294d (diff)
downloadhomebrew-4f4ada9cadc3996077c7fed23c16aa54dea79acd.tar.bz2
schroedinger 1.0.11
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/schroedinger.rb21
1 files changed, 17 insertions, 4 deletions
diff --git a/Library/Formula/schroedinger.rb b/Library/Formula/schroedinger.rb
index 9b2711327..e192a2026 100644
--- a/Library/Formula/schroedinger.rb
+++ b/Library/Formula/schroedinger.rb
@@ -1,10 +1,11 @@
require 'formula'
class Schroedinger < Formula
- head 'git://diracvideo.org/git/schroedinger.git'
- url 'http://diracvideo.org/download/schroedinger/schroedinger-1.0.9.tar.gz'
- md5 'd67ec48b7c506db8c8b49156bf409e60'
homepage 'http://diracvideo.org/'
+ url 'http://diracvideo.org/download/schroedinger/schroedinger-1.0.11.tar.gz'
+ md5 'da6af08e564ca1157348fb8d92efc891'
+
+ head 'git://diracvideo.org/git/schroedinger.git'
depends_on 'pkg-config' => :build
depends_on 'orc'
@@ -16,7 +17,19 @@ class Schroedinger < Formula
def install
system "autoreconf -i -f" if ARGV.build_head?
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+
+ # Disable compiling the test suite.
+ # The test suite is known not to build against Orc 0.4.16 in Schroedinger 1.0.11.
+ # A fix is in upstream, so test when pulling 1.0.12 if this is still needed. See:
+ # http://www.mail-archive.com/schrodinger-devel@lists.sourceforge.net/msg00415.html
+
+ inreplace "Makefile" do |s|
+ s.change_make_var! "SUBDIRS", "schroedinger doc tools"
+ s.change_make_var! "DIST_SUBDIRS", "schroedinger doc tools"
+ end
+
system "make install"
end
end