Package policies: Difference between revisions

From Alpine Linux
(Category:Development)
No edit summary
Line 4: Line 4:
* All package names should be lowercase.
* All package names should be lowercase.
* Development files are placed in subpackages with ''-dev'' suffix (i.e uclibc-dev)
* Development files are placed in subpackages with ''-dev'' suffix (i.e uclibc-dev)
* Documentation files are placed in subpackages with ''-doc'' suffix (i.e expat-doc)
* Documentation files (incl. man pages) are placed in subpackages with ''-doc'' suffix (i.e expat-doc)
* Lua modules (not applications) are prefixed with ''lua-''. (i.e lua-posix)
* Lua modules (not applications) are prefixed with ''lua-''. (i.e lua-posix)
* Perl modules (not applications) are prefixed with ''perl-''. (i.e perl-xml-parser)
* Perl modules (not applications) are prefixed with ''perl-''. (i.e perl-xml-parser)

Revision as of 06:17, 23 May 2012

The Alpine Linux Package Policies describe some of the policies when creating packages.

Package Names

  • All package names should be lowercase.
  • Development files are placed in subpackages with -dev suffix (i.e uclibc-dev)
  • Documentation files (incl. man pages) are placed in subpackages with -doc suffix (i.e expat-doc)
  • Lua modules (not applications) are prefixed with lua-. (i.e lua-posix)
  • Perl modules (not applications) are prefixed with perl-. (i.e perl-xml-parser)
  • Python modules (not applications) are prefixed with py-. (i.e py-libxml2)
  • Kernels and 3rdparty modules should be suffixed with the kernel flavor. (i.e -grsec or -vserver)

Package versions

  • Package versions are similar to gentoo.

Licensing

  • The license of the program should be based on the licenses approved by the Free Software Foundation or OSI.
  • If you are unsure about the license, please ask in our IRC channel.