Skip to content

Instantly share code, notes, and snippets.

@snikch
Created April 15, 2013 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snikch/5392225 to your computer and use it in GitHub Desktop.
Save snikch/5392225 to your computer and use it in GitHub Desktop.
require 'formula'
class Cgminer < Formula
homepage 'https://github.com/ckolivas/cgminer'
url 'https://github.com/ckolivas/cgminer/archive/v2.11.4.zip'
head 'https://github.com/ckolivas/cgminer.git', :using => :git
md5 'd41d210b03ee16c9ad4cfb439916b30a341dc9b6'
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build
depends_on 'yasm' => :build
depends_on 'jansson'
depends_on 'libusb'
depends_on 'curl'
def install
system './autogen.sh'
system './configure --enable-scrypt'
system 'make'
system 'false'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment