Fix man and info paths in `lightning`.

Also install `lightning.h`, which certain packages use to find it.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Martin Kühl 2010-09-08 19:21:22 +02:00 committed by Adam Vandenberg
parent 77383e7ebb
commit 91eeb8c9b7
1 changed files with 6 additions and 2 deletions

View File

@ -2,11 +2,15 @@ require 'formula'
class Lightning <Formula
url 'http://ftp.gnu.org/gnu/lightning/lightning-1.2.tar.gz'
homepage 'http://www.gnu.org/software/lightning/'
md5 'dcd2c46ee4dd5d99edd9930022ad2153'
homepage 'http://www.gnu.org/software/lightning/'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--infodir=#{info}"
system "make install"
include.install "lightning.h"
end
end