blob: caf77fa31de56541274fe649b323daec3aed91d2 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | require "formula"
class Libscrypt < Formula
  homepage "https://lolware.net/libscrypt.html"
  url "https://github.com/technion/libscrypt/archive/v1.20.tar.gz"
  sha1 "e4d510038c593d404961edbc5822948a6b450610"
  bottle do
    cellar :any
    sha1 "0e2111337ef3f998663f699dcc860b030c8819d6" => :yosemite
    sha1 "731edb6e1bd1bd2b4b92fc039061d8f13862b381" => :mavericks
    sha1 "426bd83082db11bfa5bc88c20a9c0482bfeab850" => :mountain_lion
  end
  def install
    system "make", "install-osx", "PREFIX=#{prefix}", "LDFLAGS=", "CFLAGS_EXTRA="
    system "make", "check", "LDFLAGS=", "CFLAGS_EXTRA="
  end
end
 |