Your primeminer setup script

I saw your script and thought is looked good enough to put some work into. I have a similar script, but it's uncommented and ugly. I added some additional functionality and improved on some things. primeminer should build faster on multicore machines and PPS/chains per day should improve slightly (I add the "-O3" option to the makefile). The script now supports beeeeer.org and xpool.xram.co (I get more XPM per day with xram). In the future I'd like to add an option for building and running on a slicify node (I would just have to add "tsocks" in front of any command that needs to use the network.)