ekg2: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-24 21:24:49 -08:00
parent 1f3c7d3806
commit 327e520349

View file

@ -10,13 +10,13 @@ class Ekg2 < Formula
depends_on 'libgadu' => :optional
def install
readline = Formula.factory 'readline'
readline = Formula['readline'].opt_prefix
args = ["--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-python",
"--without-perl",
"--with-readline=#{readline.prefix}",
"--with-readline=#{readline}",
"--without-gtk",
"--enable-unicode"]