Hi, Publib is a library of C functions for various purposes. It has been written so that it is easy to extend. It's build tools can easily be used for other libraries. The library contains functions for memory allocation, bit arrays, configuration files, comparing standard C types for qsort and bsearch, error messages, expression parsing and evaluation, filenames, hash tables, integer sets, log files, the Linux Software Map, NNTP, priority queues, normal queues, editor buffers, stacks, and strings. I suggest dev-libs/publib P.S. The source code is directly downloaded from ftp.debian.org cause afaik the author of publib is a debian developer. I couldn't find it anywhere else except as a rpm package.
Created attachment 141 [details] publib-0.31.ebuild
Are there any problems with this ebuild ? If so, please contact me.
Sorry for the delay -- it was simply due to the number of items ahead of this ebuild in my work list, not because of anything in the ebuild itself. Here are my comments, made as I went through and tested each part of the ebuild. Please don't take them personally. :-) I reworded the DESCRIPTION to try to pack more info into the one line. I think I found the "home page" and primary location of the source, but it wasn't easy. Thanks for digging out such an obscure package -- I'm sure it will prove useful! Anyway, I adjusted the SRC_URI and added a HOMEPAGE. The version number in the SRC_URI shouldn't be hardcoded -- use ${PV} or ${P} allows the URI to be calculated based on the ebuild file name. cd ${S} isn't needed anymore, and this package doesn't need the --infodir line. I added more error messages to some "die" lines. They're not required, but I like verbose error messages. I added some dodoc lines to install various little text files from around the source tree. The make install mandir should be ${D}/usr/share/man, not ${D}/usr/man -- same for the mkdir commands. The debian package also renames all the "foo.3" man pages to "foo.3pub" instead. This is good, because otherwise we would overwrite existing man pages (like /usr/share/man/man3/hash.3). If we name them "foo.o" and put them in the mano directory, then the man command can find them with the default /etc/man.conf. If this isn't acceptable, we may have to find some other solution later (like creating a new man3pub dir and adding it to /etc/man.conf) All fixed up and submitted to CVS. Thanks for contributing!
Thanks for the thorough comments. I guess I overlooked the man pages extention in the output. P.S. Why did you remove the author line ? By the way, it would be a good idea an Author line to contain two (or more) names or a separate line (e.g. Original Author and Modifications by) :).
We used to have Author and Maintainer lines in the ebuild, but both of these have been deprecated in favor of listing the details in the ChangeLog. If you look there, you will see your name for the initial ebuild, as well as mine the changes I made. --Chouser