The psplibraries script will build and install a variety of libraries for the PSP, including: zlib, bzip2, freetype, libjpeg, libbulletml, libmad, libmikmod, libogg, libpng, libpspvram, libTremor, libvorbis, lua, pspgl, pspirkeyb, sqlite, SDL, SDL_gfx, SDL_image, SDL_mixer, SDL_ttf, smpeg, zziplib
Installation is similar to the psptoolchain: first check out the repository using
svn checkout svn://svn.ps2dev.org/psp/trunk/psplibraries
and then see the readme.txt or readme-ubuntu.txt file for more instructions.