views:

19

answers:

1

I have created a static and dynamic library that I want to distribute. How should I make my .deb file so the headers are put in /usr/include/, the libraries in /usr/lib/, etc.

+1  A: 

Two good resources for creating deb packages:

http://www.debian.org/doc/maint-guide/ http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html

I usually get the source for an existing package (e.g. libgif-dev) and look in the debian directory for code to reuse

Dave B