Skip to content

Instantly share code, notes, and snippets.

@bryceweiner
Last active February 18, 2017 15:54
Show Gist options
  • Save bryceweiner/9a64d78f1f1db35027eb848b952bb276 to your computer and use it in GitHub Desktop.
Save bryceweiner/9a64d78f1f1db35027eb848b952bb276 to your computer and use it in GitHub Desktop.
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