homebrew-core/Formula/gdbm.rb
2012-09-03 11:36:42 -07:00

19 lines
563 B
Ruby

require 'formula'
class Gdbm < Formula
homepage 'http://www.gnu.org/software/gdbm/'
url 'http://ftpmirror.gnu.org/gdbm/gdbm-1.10.tar.gz'
mirror 'http://ftp.gnu.org/gnu/gdbm/gdbm-1.10.tar.gz'
sha1 '441201e9145f590ba613f8a1e952455d620e0860'
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--infodir=#{info}"
system "make install"
end
end