diff options
| author | Joe Shaw | 2009-09-22 21:45:21 -0400 |
|---|---|---|
| committer | Max Howell | 2009-09-29 23:30:20 +0100 |
| commit | 3994a536b3d53aabf6d9b2835ea281ce574c5772 (patch) | |
| tree | 768d99f21aa17856c9f1e04e76099fb9164872da /Library | |
| parent | 32f490246c2e0dcba26076b90c5fbb3169021ee9 (diff) | |
| download | homebrew-3994a536b3d53aabf6d9b2835ea281ce574c5772.tar.bz2 | |
Add a formula for gawk
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gawk.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/gawk.rb b/Library/Formula/gawk.rb new file mode 100644 index 000000000..7acea5502 --- /dev/null +++ b/Library/Formula/gawk.rb @@ -0,0 +1,19 @@ +require 'brewkit' + +class Gawk <Formula + @url='http://ftp.gnu.org/gnu/gawk/gawk-3.1.7.tar.bz2' + @homepage='http://www.gnu.org/software/gawk/' + @md5='674cc5875714315c490b26293d36dfcf' + + # For some reason, without this gawk (but not pgawk) + # loses its executable bit. I have no idea why. + def skip_clean? path + true + end + + def install + system "./configure", "--prefix=#{prefix}", "--disable-debug" + system "make" + system "make install" + end +end |
