3b4dac6ddd
Having gone through our patches it's clear that p1 is more standard. Also fixed a bug where returning DATA outside of an array would fail to patch.
32 lines
815 B
Ruby
32 lines
815 B
Ruby
require 'brewkit'
|
|
|
|
class Mawk <Formula
|
|
@url='http://invisible-island.net/datafiles/release/mawk.tar.gz'
|
|
@homepage='http://www.gnu.org/software/gnugo/gnugo.html'
|
|
@md5='5d42d8c3fb9f54f3e35fe56d7b62887e'
|
|
@version='1.3.3'
|
|
|
|
def patches
|
|
DATA
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-readline=/usr/lib"
|
|
system "make install"
|
|
end
|
|
end
|
|
|
|
|
|
__END__
|
|
diff -r 3358498a60ea Makefile.in
|
|
--- a/Makefile.in Mon Sep 14 19:17:51 2009 +0200
|
|
+++ b/Makefile.in Mon Sep 14 19:18:19 2009 +0200
|
|
@@ -118,7 +118,7 @@
|
|
|
|
$(BINDIR) \
|
|
$(MANDIR) :
|
|
- sh -c "mkdirs.sh $@"
|
|
+ sh -c "./mkdirs.sh $@"
|
|
|
|
# output from mawk -f deps.awk *.c
|
|
array.o : config.h field.h bi_vars.h mawk.h symtype.h nstd.h memory.h array.h zmalloc.h types.h sizes.h
|