2013-02-22 05:23:41 +00:00
|
|
|
class Epic5 < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Enhanced, programmable IRC client"
|
2015-04-21 18:33:23 +00:00
|
|
|
homepage "http://www.epicsol.org/"
|
2015-08-30 03:47:04 +00:00
|
|
|
url "http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/epic5-1.2.0.tar.xz"
|
|
|
|
sha256 "cfdbc1fcbe75e5441adcb7ef9ca5b1d6827815d358a38db60d1448964c2513da"
|
|
|
|
|
|
|
|
head "http://git.epicsol.org/epic5.git"
|
2015-04-21 18:33:23 +00:00
|
|
|
|
2015-04-21 19:12:15 +00:00
|
|
|
bottle do
|
2015-08-30 04:48:56 +00:00
|
|
|
sha256 "21c86223a3d8d5fa76787b6b9670d5cb3034903d6037bfeda91b7c912e8dd6d9" => :yosemite
|
|
|
|
sha256 "45ed5c8350884f3cd696a502f7c3aba90e3a270ee525aeeccd4caffbc15460bd" => :mavericks
|
|
|
|
sha256 "00465cf85fbd1c8382d990d3279104915b6a986c972edde7cadf001a2fc6b244" => :mountain_lion
|
2015-04-21 19:12:15 +00:00
|
|
|
end
|
|
|
|
|
2015-08-30 03:47:04 +00:00
|
|
|
devel do
|
|
|
|
url "http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/epic5-1.4.tar.xz"
|
|
|
|
sha256 "3bc04e07768040db266667513158d2c640544abb49cbab29343f6ef05ebd621e"
|
|
|
|
end
|
|
|
|
|
2015-04-21 18:33:23 +00:00
|
|
|
depends_on "openssl"
|
2013-02-22 05:23:41 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2015-04-21 18:33:23 +00:00
|
|
|
"--mandir=#{man}",
|
2015-09-18 13:29:57 +00:00
|
|
|
"--with-ipv6",
|
|
|
|
"--with-ssl=#{Formula["openssl"].opt_prefix}"
|
2015-04-21 18:33:23 +00:00
|
|
|
system "make", "install"
|
2013-02-22 05:23:41 +00:00
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2015-04-21 18:33:23 +00:00
|
|
|
connection = fork do
|
2015-07-21 06:14:42 +00:00
|
|
|
exec bin/"epic5", "irc.freenode.net"
|
2015-04-21 18:33:23 +00:00
|
|
|
end
|
|
|
|
sleep 5
|
|
|
|
Process.kill("TERM", connection)
|
2013-02-22 05:23:41 +00:00
|
|
|
end
|
|
|
|
end
|