RPi3 bitcoind and solo mining
Based on the source cpuminer has a --coinbase-addr parameter which accepts a bitcoin address (for example: ./cpuminer --coinbase-addr=1abcdef..., I believe you only need to set this.

The program checks if you have provided an address and if not then switches to "getwork" mode, unless you disabled it by adding the --no-gbt command line switch.