aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/schroedinger.rb
blob: 9b271132768ceeb5b922c9a9c9a31cf61cc0ff3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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/'

  depends_on 'pkg-config' => :build
  depends_on 'orc'

  if ARGV.build_head? and MacOS.xcode_version >= "4.3"
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  def install
    system "autoreconf -i -f" if ARGV.build_head?
    system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
    system "make install"
  end
end