WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Submitting new extensions  (Read 1613 times)

Offline b1ackmai1er

  • Jr. Member
  • **
  • Posts: 95
Submitting new extensions
« 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

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Submitting new extensions
« Reply #1 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Submitting new extensions
« Reply #2 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".
The only barriers that can stop you are the ones you create yourself.