Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: b1ackmai1er on August 31, 2010, 06:55:06 AM

Title: Submitting new extensions
Post by: b1ackmai1er on August 31, 2010, 06:55:06 AM
Hi.

I see a lot of extensions are split up in -dev -lib -bin -doc

What are the rules for this segregation?

i.e. do -doc contain all docs, manual pages, copyright?
i.e. do -dev contain just headers
i.e. do -lib contain all library files (both static and dynamic)
i.e. do -bin contain executables and scripts.
i.e. should all dependent package libraries be submitted as separate -lib files.

Thanks
Title: Re: Submitting new extensions
Post by: Arslan S. on August 31, 2010, 07:30:36 AM
there is no strict rules or there is not even such a rule that i know of but it is up to packagers where to put their files. In my opinion, a good convention is to put static libs, libtool archive files and headers to dev extension.
Title: Re: Submitting new extensions
Post by: curaga on August 31, 2010, 08:54:15 AM
I only see -lib necessary when it can be used without the main package, the Xorg libs being an example. If the main package is a library, it can stay as "libwhatever.tcz".