The usual:

autogen.sh (if you checked out svn)
./configure --prefix=$foo
make
make install
