homebrew-core/Formula/drizzle.rb
Jack Nagel 8c29982153 Revert "Rename readline to gnu-readline"
This reverts commit adee5315265cc46aa6a3057071527abb16e1cd94.

Turns out one of the "other things" is a dealbreaker.

We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.

So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
2012-11-10 21:12:26 -06:00

30 lines
748 B
Ruby

require 'formula'
class Drizzle < Formula
homepage 'http://drizzle.org'
url 'https://launchpad.net/drizzle/7.1/7.1.36/+download/drizzle-7.1.36-stable.tar.gz'
sha1 '6ce317d6a6b0560e75d5bcf44af2e278443cfbfe'
depends_on 'protobuf'
# https://github.com/mxcl/homebrew/issues/14289
depends_on 'boost149'
depends_on 'libevent'
depends_on 'pcre'
depends_on 'intltool'
depends_on 'libgcrypt'
depends_on 'readline'
def install
old_boost = Formula.factory('boost149')
ENV.append 'LDFLAGS', "-L#{old_boost.prefix}/lib"
ENV.append 'CPPFLAGS', "-I#{old_boost.prefix}/include"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end