Created
January 21, 2013 02:25
-
-
Save Kaelten/4583209 to your computer and use it in GitHub Desktop.
A homebrew recipie for cgminer
This file contains 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
require 'formula' | |
class Cgminer < Formula | |
homepage 'https://github.com/ckolivas/cgminer' | |
url 'https://github.com/ckolivas/cgminer/archive/v2.10.4.zip' | |
sha1 '026e03f35f23c26417d09a3288f7933969668001' | |
depends_on 'automake' => :build | |
depends_on 'curl' => :build | |
depends_on 'c-ares' => :build | |
depends_on 'libusb' => :build | |
depends_on 'pkg-config' => :build | |
def install | |
ENV['NOCONFIGURE'] = '1' | |
system "./autogen.sh" | |
system "./configure", "--disable-debug", "--disable-dependency-tracking", | |
"--prefix=#{prefix}", "--enable-cpumining" | |
system "make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment