2009-12-05 01:52:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gdbm < Formula
|
2010-09-22 18:59:02 +00:00
|
|
|
url 'ftp://ftp.gnu.org/gnu/gdbm/gdbm-1.8.3.tar.gz'
|
2009-12-05 01:52:02 +00:00
|
|
|
homepage 'http://www.gnu.org/software/gdbm/'
|
|
|
|
md5 '1d1b1d5c0245b1c00aff92da751e9aa1'
|
|
|
|
|
|
|
|
def install
|
2010-02-11 19:54:21 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}", "--infodir=#{info}"
|
2009-12-05 01:52:02 +00:00
|
|
|
inreplace "Makefile", "-o $(BINOWN) -g $(BINGRP)", ""
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|