aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorKlaus Meyer2013-06-20 22:01:39 +0200
committerAdam Vandenberg2013-06-23 11:33:41 -0700
commita2b19c8490cbfadc618a8bc93c20283511e2cb88 (patch)
tree8c55c3228b3485a31bfc11eca687c816de9d9661 /Library
parentbb84a5a6645229d147a34f25d12b6e96b4ce1da6 (diff)
downloadhomebrew-a2b19c8490cbfadc618a8bc93c20283511e2cb88.tar.bz2
ccze 0.2.1
Closes #20636. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ccze.rb41
1 files changed, 41 insertions, 0 deletions
diff --git a/Library/Formula/ccze.rb b/Library/Formula/ccze.rb
new file mode 100644
index 000000000..6154733b1
--- /dev/null
+++ b/Library/Formula/ccze.rb
@@ -0,0 +1,41 @@
+require 'formula'
+
+class Ccze < Formula
+ homepage 'http://packages.debian.org/wheezy/ccze'
+ url 'http://ftp.de.debian.org/debian/pool/main/c/ccze/ccze_0.2.1.orig.tar.gz'
+ sha1 'a265e826be8018cd2f1b13ea1e96e27cc1941d02'
+
+ depends_on 'pcre'
+
+ # Taken from debian
+ def patches
+ DATA
+ end
+
+ def install
+ system "./configure", "--prefix=#{prefix}",
+ "--with-builtins=all"
+ system "make", "install"
+ # Strange but true: using --mandir above causes the build to fail!
+ share.install prefix/'man'
+ end
+
+ test do
+ system "#{bin}/ccze", "--help"
+ end
+end
+
+__END__
+diff --git a/src/Makefile.in b/src/Makefile.in
+index c6f9892..9b93b65 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -22,7 +22,7 @@ WFLAGS_GCC = -Wshadow -Wpointer-arith -Waggregate-return \
+ -Wbad-function-cast -Wsign-compare -Wchar-subscripts \
+ -Wcomment -Wformat -Wformat-nonliteral -Wformat-security \
+ -Wimplicit -Wmain -Wmissing-braces -Wparentheses \
+- -Wreturn-type -Wswitch -Wmulticharacter \
++ -Wreturn-type -Wswitch \
+ -Wmissing-noreturn -Wmissing-declarations @WFLAGS_3X@
+ WFLAGS_ICC = -Wall -wd193,279,810,869,1418,1419
+ WFLAGS_3X = -Wsequence-point -Wdiv-by-zero -W -Wunused \