Sugar Network/Recipe Specification: Difference between revisions
| Line 126: | Line 126: | ||
Optional. List of [[Platform_Team/Guide/Packaging#Package_names|dependencies]] the library is based on. | Optional. List of [[Platform_Team/Guide/Packaging#Package_names|dependencies]] the library is based on. | ||
=== [Package] === | |||
This is a special section that does not relate to sweets directly and mentioned here only for recipe specification completeness. Using this section turns a recipe to some kind of meta-distribution spec file. The important things need to be kept in mind in that case: | |||
* it is very limited, in comparing with regular GNU/Linux distribution spec files, by design; | |||
* there are no any intentions to follow meta-distribution way; | |||
* the major distribution way for sweets is using 0install, i.e., not using ''[Package]'' section, thus, native packages at all; | |||
* this section was introduced only for cases when having native packages makes sense, e.g., for Live Sugar distributions or LTSP. | |||
'''source''' = <filename> | |||
Required. The filename with sources bundle. | |||
'''patches''' = <patch-filename> [patch-level] [; ...] | |||
The list of patches that need to be applied before building. | |||
== Archive sections == | == Archive sections == | ||