homebrew-core/Formula/sqlcipher.rb
Brett Koonce e429a0d8f3 sqlcipher 2.2.1
Closes Homebrew/homebrew#21245.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-16 01:12:52 -05:00

19 lines
583 B
Ruby

require 'formula'
class Sqlcipher < Formula
homepage "http://sqlcipher.net"
url "https://github.com/sqlcipher/sqlcipher/archive/v2.2.1.tar.gz"
sha1 "dc8af219f71ddae63ed7caf9cff5c0e9b00c3f13"
head "https://github.com/sqlcipher/sqlcipher.git"
keg_only "SQLCipher conflicts with the system and Homebrew SQLites."
def install
system "./configure", "--prefix=#{prefix}", "--enable-tempstore=yes",
"CFLAGS=-DSQLITE_HAS_CODEC", "LDFLAGS=-lcrypto",
"--disable-tcl"
system "make"
system "make install"
end
end