2011-04-04 23:39:41 +00:00
|
|
|
class Ekg2 < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Multiplatform, multiprotocol, plugin-based instant messenger"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://ekg2.org"
|
|
|
|
url "http://pl.ekg2.org/ekg2-0.3.1.tar.gz"
|
|
|
|
sha256 "6ad360f8ca788d4f5baff226200f56922031ceda1ce0814e650fa4d877099c63"
|
2011-01-05 09:40:25 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "readline"
|
|
|
|
depends_on "libgadu" => :optional
|
2011-01-05 09:40:25 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-03 12:55:31 +00:00
|
|
|
readline = Formula["readline"].opt_prefix
|
2011-01-05 09:40:25 +00:00
|
|
|
|
|
|
|
args = ["--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--without-python",
|
|
|
|
"--without-perl",
|
2014-02-25 05:24:49 +00:00
|
|
|
"--with-readline=#{readline}",
|
2011-01-05 09:40:25 +00:00
|
|
|
"--without-gtk",
|
|
|
|
"--enable-unicode"]
|
|
|
|
|
2013-05-14 17:23:10 +00:00
|
|
|
args << (build.with?("libgadu") ? "--with-libgadu" : "--without-libgadu")
|
2011-01-05 09:40:25 +00:00
|
|
|
|
|
|
|
system "./configure", *args
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2011-01-05 09:40:25 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|