homebrew-core/Formula/ekg2.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

28 lines
816 B
Ruby

class Ekg2 < Formula
desc "Multiplatform, multiprotocol, plugin-based instant messenger"
homepage "http://ekg2.org"
url "http://pl.ekg2.org/ekg2-0.3.1.tar.gz"
sha256 "6ad360f8ca788d4f5baff226200f56922031ceda1ce0814e650fa4d877099c63"
depends_on "pkg-config" => :build
depends_on "readline"
depends_on "libgadu" => :optional
def install
readline = Formula["readline"].opt_prefix
args = ["--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-python",
"--without-perl",
"--with-readline=#{readline}",
"--without-gtk",
"--enable-unicode"]
args << (build.with?("libgadu") ? "--with-libgadu" : "--without-libgadu")
system "./configure", *args
system "make", "install"
end
end