2009-12-05 01:52:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gdbm < Formula
|
2012-02-29 00:06:01 +00:00
|
|
|
homepage 'http://www.gnu.org/software/gdbm/'
|
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'
|
|
|
|
md5 '88770493c2559dc80b561293e39d3570'
|
2009-12-05 01:52:02 +00:00
|
|
|
|
2012-06-19 15:59:44 +00:00
|
|
|
def options
|
|
|
|
[["--universal", "Build a universal binary."]]
|
|
|
|
end
|
|
|
|
|
2009-12-05 01:52:02 +00:00
|
|
|
def install
|
2012-06-19 15:59:44 +00:00
|
|
|
ENV.universal_binary if ARGV.build_universal?
|
2011-08-12 23:36:04 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-02-11 19:54:21 +00:00
|
|
|
"--prefix=#{prefix}",
|
2012-02-29 00:06:01 +00:00
|
|
|
"--mandir=#{man}",
|
|
|
|
"--infodir=#{info}"
|
2009-12-05 01:52:02 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|