Skip to content

Commit

Permalink
scrypt: add head
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#47475.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
teslamint authored and DomT4 committed Dec 29, 2015
1 parent c00b5c1 commit 2e23f57
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Formula/scrypt.rb
Expand Up @@ -11,9 +11,17 @@ class Scrypt < Formula
sha256 "451f8217e0d27b265b6aa7f9752488b7c4986d5dce77e394aeae35361e839bd7" => :mountain_lion
end

head do
url "https://github.com/Tarsnap/scrypt.git"

depends_on "automake" => :build
depends_on "autoconf" => :build
end

depends_on "openssl"

def install
system "autoreconf", "-fvi" if build.head?
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
Expand Down

0 comments on commit 2e23f57

Please sign in to comment.