homebrew-core/Formula/gdbm.rb

27 lines
795 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.11.tar.gz'
mirror 'http://ftp.gnu.org/gnu/gdbm/gdbm-1.11.tar.gz'
sha1 'ce433d0f192c21d41089458ca5c8294efe9806b4'
2009-12-05 01:52:02 +00:00
2014-02-22 22:42:44 +00:00
bottle do
cellar :any
sha1 "8d6f002454ffe4ea8332fa10a9f91be45c5ba34c" => :mavericks
sha1 "5473f06f355c17825f388a0bf4717905b209ce2e" => :mountain_lion
sha1 "bbce3c28c939be838375a99fa965e488d4186b2a" => :lion
end
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