homebrew-core/Formula/libdrizzle.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

14 lines
471 B
Ruby

require 'formula'
class Libdrizzle <Formula
head 'bzr://https://launchpad.net/libdrizzle/trunk'
url 'http://launchpad.net/libdrizzle/trunk/0.7/+download/libdrizzle-0.7.tar.gz'
homepage 'https://launchpad.net/libdrizzle'
md5 '9b2f0ed5d9f63d0f0b9253d03c817d55'
def install
system "./config/autorun.sh" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end