2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-03 16:02:09 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Lightning < Formula
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/lightning/lightning-1.2.tar.gz'
|
2009-10-03 16:02:09 +00:00
|
|
|
md5 'dcd2c46ee4dd5d99edd9930022ad2153'
|
2010-09-08 17:21:22 +00:00
|
|
|
homepage 'http://www.gnu.org/software/lightning/'
|
2009-10-03 16:02:09 +00:00
|
|
|
|
|
|
|
def install
|
2010-09-08 17:21:22 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}",
|
|
|
|
"--infodir=#{info}"
|
2009-10-03 16:02:09 +00:00
|
|
|
system "make install"
|
2010-09-08 17:21:22 +00:00
|
|
|
include.install "lightning.h"
|
2009-10-03 16:02:09 +00:00
|
|
|
end
|
|
|
|
end
|