Here is a request for phpmyadmin-2.5.1. I'm sorry I'm unable to try the old ebuild in overlay at the moment.
Now in CVS, marked unstable. Please test. Note that LaTeX export doesn't work for me: I believe that this is a phpMyAdmin problem, not a Gentoo one.