Mohit Deshpande
Mohit Deshpande

Reputation: 55247

Distribute static/dynamic library to Linux via .deb

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.

Upvotes: 1

Views: 1046

Answers (1)

Dave B
Dave B

Reputation: 186

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

Upvotes: 2

Related Questions