This is a port of libcurl 7.15.1 for the PSP, based originally on danzel's patches but 
I have cleaned them up, in part because I added gethostbyname/addr to newlib itself.

To build configure the source with:

LDFLAGS="-L$(psp-config --psp-prefix)/lib -L$(psp-config --pspsdk-path)/lib" \
	 	LIBS="-lc -lpspnet_inet -lpspnet_resolver -lpspuser" \
	 	./configure --host=psp --disable-shared --prefix=$(psp-config --psp-prefix)

Then just:

make CFLAGS=-G0 && make install

TyRaNiD