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
|
2013-01-29 05:07:51 +00:00
|
|
|
homepage 'http://www.gnu.org/software/lightning/'
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/lightning/lightning-1.2.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/lightning/lightning-1.2.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '09bee469782911bd81f545e4c2de667a6fbda0ee'
|
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
|