开发者

Distribute static/dynamic library to Linux via .deb

开发者 https://www.devze.com 2023-01-23 09:04 出处:网络
I have created a static and dynamic lib开发者_StackOverflowrary 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.Two g

I have created a static and dynamic lib开发者_StackOverflowrary 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消