blob: 39e3eece1a968bb3306bfe47f8eeed8f584e6b5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
require 'formula'
class Unixodbc < Formula
homepage 'http://www.unixodbc.org/'
url 'http://www.unixodbc.org/unixODBC-2.3.2.tar.gz'
mirror 'ftp://mirror.ovh.net/gentoo-distfiles/distfiles/unixODBC-2.3.2.tar.gz'
sha1 'f84520fd58143625b614fde551435178a558ee2e'
revision 1
bottle do
revision 1
sha1 "03dd766eb34bf59cc26c6ae55ca906f95b9e0c17" => :yosemite
sha1 "29acdaea17aea46d72b8cfe061c84d3d58e3d594" => :mavericks
sha1 "e9efe13f0a2eb4f162422dc3465411ab35b85aef" => :mountain_lion
end
option :universal
conflicts_with 'virtuoso', :because => 'Both install `isql` binaries.'
keg_only "Shadows system iODBC header files" if MacOS.version < :mavericks
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-gui=no"
system "make install"
end
end
|