diff options
| author | Nick Parker | 2013-01-20 22:28:24 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-20 22:40:32 +0000 |
| commit | 679d2b31e1a4968abfa8a182d807692f55feaa37 (patch) | |
| tree | bb3dd52764bba99ee60ddbbc28fd267f60f3ae29 | |
| parent | 1acb25ccdf51419f00de9ede1ca0e1f7a2393c64 (diff) | |
| download | homebrew-679d2b31e1a4968abfa8a182d807692f55feaa37.tar.bz2 | |
New formula: sqlcipher
Closes #16960.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/sqlcipher.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/sqlcipher.rb b/Library/Formula/sqlcipher.rb new file mode 100644 index 000000000..aab3b8dc9 --- /dev/null +++ b/Library/Formula/sqlcipher.rb @@ -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 |
