The packaging refers to that collection of scripts and metadata that take a the raw source tarball and turn it into a .deb. If you obtain the debian source code via apt-get source somepackage
, you can find this under the debian/
directory.
For a definitive answer, you should probably contact an attorney; I am not one, and this is not legal advice - that said, however, 'viral' licenses such as the GPL are limited to what copyright law allows them to affect. Specifically, they can only really affect you if your code is a derivative work of the GPL'd code in question. Your code may be a derivative work of the actual library in question, but it would be hard to argue that your code is a derivative work of the packaging scripts; after all, your code would work just fine if built on, say, Red Hat, right?
While it's not exactly the same situation as with debian packaging scripts, you might find it interesting to read this discussion of Linux and binary kernel modules; the concept of derivative works is prominent there as well.