homebrew-core/Formula/sqlcipher.rb
Brett Koonce 34753c5d12 sqlcipher 3.0.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-17 18:53:58 -08:00

19 lines
583 B
Ruby

require 'formula'
class Sqlcipher < Formula
homepage "http://sqlcipher.net"
url 'https://github.com/sqlcipher/sqlcipher/archive/v3.0.1.tar.gz'
sha1 '9cec88e5a6e59058e675d37bbd4b0899689f9956'
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