homebrew-core/Formula/gdbm.rb

17 lines
522 B
Ruby
Raw Normal View History

2009-12-05 01:52:02 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Gdbm < Formula
url 'http://ftpmirror.gnu.org/gdbm/gdbm-1.9.1.tar.gz'
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/'
md5 '59f6e4c4193cb875964ffbe8aa384b58'
2009-12-05 01:52:02 +00:00
def install
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