homebrew-core/Formula/gdbm.rb

22 lines
610 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
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'
md5 '88770493c2559dc80b561293e39d3570'
2009-12-05 01:52:02 +00:00
def options
[["--universal", "Build a universal binary."]]
end
2009-12-05 01:52:02 +00:00
def install
ENV.universal_binary if ARGV.build_universal?
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
system "make install"
end
end