2d2c161d23
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
21 lines
610 B
Ruby
21 lines
610 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'
|
|
md5 '88770493c2559dc80b561293e39d3570'
|
|
|
|
def options
|
|
[["--universal", "Build a universal binary."]]
|
|
end
|
|
|
|
def install
|
|
ENV.universal_binary if ARGV.build_universal?
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}",
|
|
"--infodir=#{info}"
|
|
system "make install"
|
|
end
|
|
end
|