sqliteodbc 0.9992 (new formula)
Closes Homebrew/homebrew#45002. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
22b02e3dc7
commit
f1c146ab3f
1 changed files with 22 additions and 0 deletions
22
Formula/sqliteodbc.rb
Normal file
22
Formula/sqliteodbc.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
class Sqliteodbc < Formula
|
||||
desc "SQLite ODBC driver"
|
||||
homepage "http://www.ch-werner.de/sqliteodbc/"
|
||||
url "http://www.ch-werner.de/sqliteodbc/sqliteodbc-0.9992.tar.gz"
|
||||
sha256 "f5c6119cfb688fc3d2fbc500c6cfa796538b767c511be5ab90fb6805fcd289c3"
|
||||
|
||||
depends_on "sqlite"
|
||||
depends_on "unixodbc"
|
||||
|
||||
def install
|
||||
lib.mkdir
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
system "make"
|
||||
system "make", "install"
|
||||
lib.install_symlink "#{lib}/libsqlite3odbc.dylib" => "libsqlite3odbc.so"
|
||||
end
|
||||
|
||||
test do
|
||||
output = shell_output("#{Formula["unixodbc"].opt_bin}/dltest #{lib}/libsqlite3odbc.so")
|
||||
assert_equal "SUCCESS: Loaded #{lib}/libsqlite3odbc.so\n", output
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue