I have been working on packaging libgsm ( http://kbs.cs.tu-berlin.de/~jutta/toast.html
). My only real goal in packaging this was to ease my packaging and installation of FFMpeg ( http://ffmpeg.sourceforge.net/index.php
I came across a patch (to be honest, I can't remember where I came across the patch) that only needed a little tweaking to get everything working the way I wanted (libgsm is OLD and doesn't compile/package quite as easily as some of the other programs I have worked with).
Now, on to my questions. Header files are placed in /usr/include/gsm and libraries are placed in /usr/lib/gsm. Trying to compile FFMpeg bombs out. Solution? Symlinks. I symlink the headers in /usr/include and the libraries in /usr/lib.
That works, but that brings an interesting question (interesting to me, anyway). Where are these libraries and headers "supposed" to go. Is there some standard?
Headers in /usr/include/gsm
Libraries in /usr/lib/gsm
Problem with this: It doesn't work!!!
Headers in /usr/include
Libraries in /usr/lib
Problem with this: It seems messy. Putting everything in /usr/lib or /usr/include will make for a HUGE hard to search directory. It also doesn't seem right because many other packages seem to be using subdirectories with no problem.
Upside to this: It works. Also, looking at some Debian packages, it seems that they place the libraries in /usr/lib (adding creedance to the idea that this is the right spot for them).
Headers in /usr/include/libgsm
Libraries in /usr/lib/libgsm
I have no idea if this would work (haven'y treid it yet). I was going to test this, but that got me thinking about the whole "where should I put headers/libraries" in the first place.
So, any thoughts?
Thanks in advance,