homebrew-core/Formula/gdbm.rb

20 lines
563 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'
sha1 '441201e9145f590ba613f8a1e952455d620e0860'
2009-12-05 01:52:02 +00:00
2012-08-09 05:35:31 +00:00
option :universal
2009-12-05 01:52:02 +00:00
def install
2012-08-09 05:35:31 +00:00
ENV.universal_binary if 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