2013-01-20 22:28:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Sqlcipher < Formula
|
|
|
|
homepage "http://sqlcipher.net"
|
2013-07-16 03:43:58 +00:00
|
|
|
url "https://github.com/sqlcipher/sqlcipher/archive/v2.2.1.tar.gz"
|
|
|
|
sha1 "dc8af219f71ddae63ed7caf9cff5c0e9b00c3f13"
|
2013-01-20 22:28:24 +00:00
|
|
|
|
|
|
|
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
|