homebrew-core/Formula/libiodbc.rb
2016-07-14 09:04:13 -07:00

29 lines
971 B
Ruby

class Libiodbc < Formula
desc "Database connectivity layer based on ODBC. (alternative to unixodbc)"
homepage "http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/"
url "https://downloads.sourceforge.net/project/iodbc/iodbc/3.52.12/libiodbc-3.52.12.tar.gz"
sha256 "51c5ff3a7d9a54202486cb77a3514e0e379a135beefcd5d12b96d1901f9dfb62"
bottle do
cellar :any
sha256 "85570401135c9fa3f6325ae4ce098180128491c4472155f85ad5b7c4c6473d9e" => :el_capitan
sha256 "cbcd0d50f16a1faa596466ba6678529550d631f770f84657da877f87e17b0424" => :yosemite
sha256 "47fecc486608df1edc094742a3afbd33c7159c8957429528e11a6fb6f551ebc4" => :mavericks
end
keg_only :provided_pre_mavericks
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "libtool" => :build
def install
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
system bin/"iodbc-config", "--version"
end
end