Hints on packaging a library
Alexandre Quessy
alexandre at quessy.net
Thu Aug 26 15:31:43 UTC 2010
Hello everyone,
I was wondering if someone had hints on how to package a library. The
things I want to package are often distributed with at least an
executable which uses them.
The packages I am working and contain libraries on are: scenic, spinframework.
I am also interested in packaging lyd.
For now, I used CDBS, but I would like to give a try to dh 7, to
compare. :) Whatever works first...
Any examples of packages I should check out?
I looked at liblo, which is a library I know and use. It's pretty
straightforward.
I found some info about the soversion (liblyd0, for example) in the
Debian policy manual.
http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-shlibs
There is no debian/shlibs file in the Git repo for the packaging of
liblo. I guess it's generated by the debian/rules file?
It seems like the versioning of the shlibs rely on the
LO_SO_VERSION=7:0:0 in configure.ac. Some project may not provide this
upstream.
I'll keep digging into this.
Thanks!
--
Alexandre Quessy
http://alexandre.quessy.net/
More information about the pkg-multimedia-maintainers
mailing list