2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-03 16:02:09 +00:00
|
|
|
|
|
|
|
class Lightning <Formula
|
|
|
|
url 'http://ftp.gnu.org/gnu/lightning/lightning-1.2.tar.gz'
|
|
|
|
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
|