Create $HOME/user-config.jam and add following line;
using gcc : arm : arm-linux-gnueabihf-g++ : <cxxflags>-std=c++11 ;
using python : 2.7 ;
./bootstrap.sh --prefix=/opt/raspi/arm-linux-gnueabihf/usr/local
And then, build boost as; (make sure you have write permission to dist)
./b2 toolset=gcc-arm cxxflags="-std=c++11" -s BZIP2_SOURCE=~/src/bzip2-1.0.6 install