-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakebfgminer.sh
24 lines (24 loc) · 1.06 KB
/
makebfgminer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#simple build script for bfg miner downloads all build tools and installs
#This script is released as public domain software under the condition that you leave the developers contact info below
#Developed by Joseph S. White joesfreicoinpool -at- gmail -dot- com http://pool.cr.rs
#FRC (FreiCoin) donation address 1FRCJoeWXbYe47cmuW3do8VoqAr9HuWbpJ
#BTC (BitCoin) donation address 1FRCJoeWXbYe47cmuW3do8VoqAr9HuWbpJ
#Released on 10/29/13
#
#Version 0.003b
rm -rfv ~/bfgminer/bfgminer
cd ~/
sudo apt-get install git build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncursesw5-dev libudev-dev libusb-1.0-0-dev libevent-dev libmicrohttpd-dev uthash-dev
git clone https://github.com/signal11/hidapi ~/bfgminer/hidapi
cd ~/bfgminer/hidapi
sudo ./bootstrap
sudo ./configure --prefix=/usr
sudo make
sudo make install
#fix as noted by phillpafford (https://github.com/joeswhite/makebfgminer/issues/1)
git clone https://github.com/luke-jr/bfgminer.git ~/bfgminer/bfgminer
cd ~/bfgminer/bfgminer
./autogen.sh
./configure
make