Skip to content

Instantly share code, notes, and snippets.

@snikch
Created April 15, 2013 23:43

Revisions

  1. Mal Curtis revised this gist Apr 15, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion formula.rb
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    require 'formula'

    class Bfgminer < 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
  2. Mal Curtis created this gist Apr 15, 2013.
    25 changes: 25 additions & 0 deletions formula.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    require 'formula'

    class Bfgminer < 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