2009-12-05 01:52:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gdbm < Formula
|
2011-12-31 23:34:54 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/gdbm/gdbm-1.10.tar.gz'
|
|
|
|
mirror 'http://ftp.gnu.org/gnu/gdbm/gdbm-1.10.tar.gz'
|
2009-12-05 01:52:02 +00:00
|
|
|
homepage 'http://www.gnu.org/software/gdbm/'
|
2011-12-31 23:34:54 +00:00
|
|
|
md5 '88770493c2559dc80b561293e39d3570'
|
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
|