2009-12-05 01:52:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gdbm < Formula
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/gdbm/gdbm-1.9.1.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/gdbm/gdbm-1.9.1.tar.gz'
|
2009-12-05 01:52:02 +00:00
|
|
|
homepage 'http://www.gnu.org/software/gdbm/'
|
2011-08-12 23:36:04 +00:00
|
|
|
md5 '59f6e4c4193cb875964ffbe8aa384b58'
|
2009-12-05 01:52:02 +00:00
|
|
|
|
|
|
|
def install
|
2011-08-12 23:36:04 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-02-11 19:54:21 +00:00
|
|
|
"--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
|