The magic prefix in the configure stage:

--prefix=/tmp/something