Ok, can you confirm if all below are all I need doing?
sudo apt-get update
sudo apt-get install autoconf autogen libtool uthash-dev libjansson-dev libcurl4-openssl-dev libusb-dev libncurses-dev git-core –y
git clone https://github.com/jmordica/cgminer-gc3355.git
cd cgminer-gc3355
./autogen.sh
./configure --enable-scrypt --enable-gridseed
make
Assuming all is correct, then GPU and CPU will be disabled?
I think you will need jmordica's fork of cgminer from
https://github.com/jmordica/cgminer-gc3355 .
Configure parameters are noted in the readme of the above link. Otherwise you just need to make sure you have all the requirements/dependencies installed to build it on your Pi.
HTH