blob: 2320cc3a209d2d5aea07c47b94339026a6140dcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  | 
require 'formula'
class Sqlcipher < Formula
  homepage "http://sqlcipher.net"
  url "https://github.com/sqlcipher/sqlcipher/archive/v2.2.1.tar.gz"
  sha1 "dc8af219f71ddae63ed7caf9cff5c0e9b00c3f13"
  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
  |