-
-
Save RandyMcMillan/9ed160ca1ceba5ae49e1ea7d019a16cf to your computer and use it in GitHub Desktop.
Homebrew recipe for secp256k, put it into /usr/local/Library/Formula/secp256k1.rb or run: brew install https://gist.github.com/RandyMcMillan/9ed160ca1ceba5ae49e1ea7d019a16cf#file-secp256k1.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Secp256k1 < Formula | |
desc "Optimized C library for EC operations on curve secp256k1" | |
homepage "https://github.com/bitcoin/secp256k1" | |
url "https://github.com/bitcoin/secp256k1.git" | |
depends_on "autoconf" => :build | |
depends_on "automake" => :build | |
depends_on "libtool" => :build | |
def install | |
system "./autogen.sh" | |
system "./configure", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}" | |
system "make", "install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment