I tried to create an ebuild for klibido, which needs libuu from uudeview. Unfortunately, make install of the uudeview package doesn't install uudeview.h and libuu.a automatically. So I had to enhance the ebuild to do so. Reproducible: Always Steps to Reproduce: 1. emerge uudeview Actual Results: /usr/include/uudeview.h and /usr/lib/libuu.a are not installed. Expected Results: The files above should have been installed. I added the following lines to the src_install() function: cd ${S}/uulib insinto /usr/include doins uudeview.h dolib.a libuu.a cd -
dev-libs/uulib provides the header and library.
OK, thanx. But why two ebuilds for one package?
I first thought about it, but as it's only a static library it's only needed for compile time and we can save the time to compile the complete uudeview utilities when only libuu is needed. uudeview is linked static against the included libuu and we don't need to pollute the users system with a static lib that would get installed with the command line utilities.
Well it turns out there are some kde applications that use libuu and expect to see the library and header files included.
And that are which packages?