2014-02-06 14:56:12 +00:00
|
|
|
class Bip < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "IRC proxy"
|
2015-02-04 17:46:46 +00:00
|
|
|
homepage "https://bip.milkypond.org" # Self-signed cert.
|
2015-11-01 20:31:19 +00:00
|
|
|
url "https://mirrors.ocf.berkeley.edu/debian/pool/main/b/bip/bip_0.8.9.orig.tar.gz"
|
|
|
|
mirror "https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/b/bip/bip_0.8.9.orig.tar.gz"
|
2015-02-04 17:46:46 +00:00
|
|
|
sha256 "3c950f71ef91c8b686e6835f9b722aa7ccb88d3da4ec1af19617354fd3132461"
|
|
|
|
revision 1
|
|
|
|
|
2015-03-13 00:54:52 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-11-01 21:42:26 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "6668137d523c526718e63487b073d1460be5aad406e0b1e97d03ecf4c151c644" => :el_capitan
|
|
|
|
sha256 "7c7f8f20b05207af532ef998b6d967fe09096f91c2d43705538bfe15d56af3bf" => :yosemite
|
|
|
|
sha256 "38aa273de07d7ef1057bd253993b19fe359d235a1985230d079cafd549301445" => :mavericks
|
2015-03-13 00:54:52 +00:00
|
|
|
end
|
|
|
|
|
2015-02-04 17:46:46 +00:00
|
|
|
depends_on "openssl"
|
2014-02-06 14:56:12 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
2015-02-04 17:46:46 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--sysconfdir=#{etc}/bip"
|
|
|
|
|
2014-02-06 14:56:12 +00:00
|
|
|
system "make", "install"
|
2015-11-01 20:31:19 +00:00
|
|
|
(etc/"bip").install "samples/bip.conf"
|
2015-02-04 17:46:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Prior to running bip you will need to do:
|
|
|
|
mkdir -p ~/.bip/logs
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"bip", "-v"
|
2014-02-06 14:56:12 +00:00
|
|
|
end
|
|
|
|
end
|