Created attachment 310613 [details] libcsv-3.0.2.ebuild Hello. Please find attached libcsv-3.0.2.ebuild. libcsv is a small, simple and fast CSV library developed by Robert Gamble. It is written in pure ANSI C89 to read and write CSV data. It provides a straight-forward interface using callback functions to handle parsed fields and rows and can parse improperly formatted CSV files. libcsv has been around for a while, but up until recently it used a simple Makefile based build system which was not very convenient for packaging. I was able to work with the developer and we wrapped it properly in autotools, with libtool versioning. These and various minor source package fixes are represented in the 3.0.2 version. The attached ebuild works properly on my Gentoo amd64 system, including software tests run in FEATURES="test" mode. * Small side note: * With the "examples" use flag, the ebuild installs several *.c source code example files. However, for some reason portage bzip2 compresses the files, which does not seem appropriate. I have tried various methods but have not figured out how to write the ebuild so it does not bzip2 compress these example files.
Looks quite good to me. This is a dependency of another package I'm working on, so I may be interested in maintaining it. There appears to be a 3.0.3 version out, but I haven't tried just renaming the ebuild yet. (In reply to comment #0) > * Small side note: * > With the "examples" use flag, the ebuild installs several *.c source code > example files. However, for some reason portage bzip2 compresses the files, > which does not seem appropriate. I have tried various methods but have not > figured out how to write the ebuild so it does not bzip2 compress these > example files. This should be controlled by PORTAGE_COMPRESS and is automatic. See make.conf(5).
Created attachment 336958 [details] ebuild for 3.0.3 Let me know what you think. I've tweaked it slightly to use the dodoc functions of autotools-utils.
In case you are waiting for a comment from me: I'm back in school now and don't have time to look over changes or do any testing. But I'm glad somebody finally found my ebuild useful!