aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libscrypt.rb
blob: 80c9c3df6dce3c04434c44f161df65aa648d10c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require "formula"

class Libscrypt < Formula
  homepage "https://lolware.net/libscrypt.html"
  url "https://github.com/technion/libscrypt/archive/v1.19.tar.gz"
  sha1 "fb457aab4561a929dda2872da52b02710c07b7a5"

  bottle do
    cellar :any
    revision 1
    sha1 "9ab1c43f3a714d824fc8350202dbb48781c61ff0" => :yosemite
    sha1 "98da6b52ef80a84beba1d9decdbc8e2230ef5e51" => :mavericks
    sha1 "98248b6497ba04be1191c3fde0cc625849af052a" => :mountain_lion
  end

  def install
    system "make", "install-osx", "PREFIX=#{prefix}", "LDFLAGS=", "CFLAGS_EXTRA="
    system "make", "check", "LDFLAGS=", "CFLAGS_EXTRA="
  end
end