Last active
February 18, 2017 15:54
-
-
Save bryceweiner/9a64d78f1f1db35027eb848b952bb276 to your computer and use it in GitHub Desktop.
secp256k1 homebrew formula including Schnorr support, use as "brew install https://gist.github.com/bryceweiner/9a64d78f1f1db35027eb848b952bb276/raw/2e4ae2973887b673019fdce7eef9db191b9115e8/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", | |
| "--enable-module-recovery", | |
| "--enable-module-ecdh", | |
| "--enable-experimental", | |
| "--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