homebrew-core/Formula/epic5.rb

40 lines
1.3 KiB
Ruby
Raw Normal View History

class Epic5 < Formula
desc "Enhanced, programmable IRC client"
homepage "http://www.epicsol.org/"
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 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
devel do
url "http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/epic5-1.4.tar.xz"
sha256 "3bc04e07768040db266667513158d2c640544abb49cbab29343f6ef05ebd621e"
end
depends_on "openssl"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--with-ipv6",
"--with-ssl=#{Formula["openssl"].opt_prefix}"
system "make", "install"
end
test do
connection = fork do
exec bin/"epic5", "irc.freenode.net"
end
sleep 5
Process.kill("TERM", connection)
end
end