homebrew-core/Formula/schroedinger.rb
Adam Vandenberg 8c56f544b7 Add ARGV.build_head? and use it.
This allows both "--HEAD" and "-H" to be used consistently, which was the
intention in the first place.
2010-07-16 09:09:39 -07:00

17 lines
499 B
Ruby

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'
depends_on 'orc'
def install
system "autoreconf -i -f" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end