2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-14 17:57:20 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Mawk < Formula
|
2009-12-21 14:27:31 +00:00
|
|
|
url 'http://invisible-island.net/datafiles/release/mawk.tar.gz'
|
|
|
|
homepage 'http://invisible-island.net/mawk/mawk.html'
|
2010-08-23 13:20:07 +00:00
|
|
|
md5 '447e7c322fa1e58141f5085bae87351f'
|
2009-12-21 14:27:31 +00:00
|
|
|
version '1.3.4'
|
2009-09-14 17:57:20 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2010-08-23 13:20:07 +00:00
|
|
|
"--with-readline=/usr/lib",
|
|
|
|
"--mandir=#{man}"
|
2009-09-14 17:57:20 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|