homebrew-core/Formula/sqlcipher.rb
Brett Koonce 7853ad24c8 sqlcipher v3.0.0
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-19 14:40:41 +00:00

19 lines
583 B
Ruby

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