2010-02-07 20:18:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Help2man < Formula
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/help2man/help2man-1.40.4.tar.gz'
|
2010-02-07 20:18:02 +00:00
|
|
|
homepage 'http://www.gnu.org/software/help2man/'
|
2011-09-11 05:23:42 +00:00
|
|
|
md5 '4d79dc7cb7c20019c2a3650d35259c45'
|
2010-02-07 20:18:02 +00:00
|
|
|
|
|
|
|
def install
|
2010-08-21 18:28:03 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2010-02-07 20:18:02 +00:00
|
|
|
|
|
|
|
# Skip making the "info" files.
|
|
|
|
system "make help2man man"
|
|
|
|
bin.install "help2man"
|
|
|
|
man1.install gzip("help2man.1")
|
|
|
|
end
|
|
|
|
end
|