aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-01-04 15:10:26 +0100
committerMike McQuaid2015-01-04 14:49:25 +0000
commitdf2392956e63b1485713eefb3843fe035f0f1cbf (patch)
tree815af3a46e6d98fdbd4bfbc39396ae5446b2a26a /Library
parent668f4d7fc95c3fe4e454e306302bc73a495d4224 (diff)
downloadhomebrew-df2392956e63b1485713eefb3843fe035f0f1cbf.tar.bz2
BitchX 1.2.1
Closes #35543. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bitchx.rb40
1 files changed, 9 insertions, 31 deletions
diff --git a/Library/Formula/bitchx.rb b/Library/Formula/bitchx.rb
index 0d9d066e3..c54e16ec2 100644
--- a/Library/Formula/bitchx.rb
+++ b/Library/Formula/bitchx.rb
@@ -1,24 +1,20 @@
-require "formula"
-
class Bitchx < Formula
+ homepage "http://bitchx.sourceforge.net/"
+ url "https://downloads.sourceforge.net/project/bitchx/ircii-pana/bitchx-1.2.1/bitchx-1.2.1.tar.gz"
+ sha1 "48ca956d43d6d62e32040bddfae49e88c1188927"
- homepage "https://github.com/BitchX"
- url "http://bitchx.ca/BitchX-1.2-final.tar.gz"
- mirror "http://pkgs.fedoraproject.org/repo/pkgs/BitchX/BitchX-1.2-final.tar.gz/5c4947f5a345574e28d93f78cb191ce4/BitchX-1.2-final.tar.gz"
- sha1 "a2162a18d3a96ade7d2410f6a560e43f7d6b8763"
-
- # Reported upstream:
- # https://github.com/BitchX/BitchX/pull/8
- patch :DATA
+ depends_on "openssl"
def install
- args = %W{
+ plugins = %w[acro aim arcfour amp autocycle blowfish cavlink encrypt
+ fserv hint identd nap pkga possum qbx qmail]
+ args = %W[
--prefix=#{prefix}
--with-ssl
- --with-plugins=acro,aim,arcfour,amp,autocycle,blowfish,cavlink,encrypt,fserv,hint,identd,nap,pkga,possum,qbx,qmail
+ --with-plugins=#{plugins * ","}
--enable-ipv6
--mandir=#{man}
- }
+ ]
system "./configure", *args
system "make"
@@ -38,22 +34,4 @@ class Bitchx < Formula
test do
system bin/"BitchX", "-v"
end
-
end
-
-__END__
-diff --git a/source/compat.c b/source/compat.c
-index fa68988..9549bd6 100644
---- a/source/compat.c
-+++ b/source/compat.c
-@@ -1011,6 +1011,10 @@ int scandir (const char *name,
- #include <stddef.h>
- #include <string.h>
-
-+#if defined(__APPLE__)
-+ #define environ (*_NSGetEnviron())
-+#endif
-+
- int bsd_setenv(const char *name, const char *value, int rewrite);
-
- /*