homebrew-core/Formula/libscrypt.rb
2014-10-20 15:02:15 +01:00

20 lines
624 B
Ruby

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