This is a Number Theory Library for C++. Very useful for crypto and research. It is writen by Victor Shoup ( http://www.shoup.net ) I would suggest it go in dev-libs/ntl Attached you should find the ebuild. I built the ebuild to depend on the GMP library (which is already in the portage tree) to speed up arithmetic. Other than all NTL needs is the normal compiler/libs. I have tested it on Gentoo 1.4-r1 with GCC 3.2 and on Gentoo 1.2 with GCC 2.95 -- eveything worked well.
Created attachment 5355 [details] NTL ebuild
Hi Brendon. Thank you for your submission! I have procesed the ebuild. There were a few things I would like to poitn out: 1. please, *please* include full ebuild name in your submission. Version number is important! 2. SRC_URI should contain ${P} instead of "ntl-5.3" which should have been in the ebuild name! This way future update may be as easy as just renaming the ebuild! 3. DESCRIPTION is a one-liner. I do appreciate somewhat longer description as well, but it should have been included in the ChangeLog (which you may include as well, this would save me some time). 4. your src_unpack does not do any source modification, it may be mitted. 5. !Important! All distribution provided software should be installed in /usr, not /usr/local. The latter should be left untouched to let sysadmin do some manual installs as he would see fit (FHS requirements). 6. It's not good to set prefix=${D}/usr during the configure step as various libs may be linked against that position. Instead ${D} prefix should be passed during make install step (most of the time this is supported correctly, rarely some sed'ing or patching may be necessary, tis time this seems to work fine). I also did some doc clean-ups. Please see the committed version. The ebuild is committed and keymasked, please test and report. George
Hi Brendan. Thanks for testing! Closing the bug now. George