New formula: sqlcipher
Closes Homebrew/homebrew#16960. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
7e4ff4e7b6
commit
6a68d6920e
1 changed files with 19 additions and 0 deletions
19
Formula/sqlcipher.rb
Normal file
19
Formula/sqlcipher.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
require 'formula'
|
||||
|
||||
class Sqlcipher < Formula
|
||||
homepage "http://sqlcipher.net"
|
||||
url "https://github.com/sqlcipher/sqlcipher/archive/v2.1.1.tar.gz"
|
||||
sha1 "032110255562e9ada5f31078dc8426441a47a7ce"
|
||||
|
||||
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
|
Loading…
Reference in a new issue