homebrew-core/Formula/gdbm.rb
2014-10-22 15:57:12 +01:00

27 lines
814 B
Ruby

require 'formula'
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'
bottle do
cellar :any
revision 1
sha1 "51d9c80b023a12571843e10984aa026c55d487f9" => :yosemite
sha1 "73f8a00866a510eb8b6aac08ab0462aec6aa56ff" => :mavericks
sha1 "11e8b6c44f03db030339aaaf05187b208d67d168" => :mountain_lion
end
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--infodir=#{info}"
system "make install"
end
end