Sugar Network/Recipe Specification: Difference between revisions

No edit summary
Line 94: Line 94:
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]


Optional. List of [[Platform_Team/Guide/Packaging#Package_names|dependencies]] that should exist at run-time before launching the activity.
Optional. List of [[Platform_Team/Guide/Sweets_Packaging#Interfaces|dependencies]] that should exist at run-time before launching the activity.


=== [Application] ===
=== [Application] ===
Line 106: Line 106:
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]


Optional. List of [[Platform_Team/Guide/Packaging#Package_names|dependencies]] that should exist at run-time before launching the application.
Optional. List of [[Platform_Team/Guide/Sweets_Packaging#Interfaces|dependencies]] that should exist at run-time before launching the application.


=== [Library] ===
=== [Library] ===
Line 116: Line 116:
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]


Optional. List of [[Platform_Team/Guide/Packaging#Package_names|dependencies]] the library is based on.
Optional. List of [[Platform_Team/Guide/Sweets_Packaging#Interfaces|dependencies]] the library is based on.


=== [Package] ===
=== [Package] ===
Line 148: Line 148:
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]


Optional. List of [[Platform_Team/Guide/Packaging#Package_names|dependencies]] the package is based on.
Optional. List of [[Platform_Team/Guide/Sweets_Packaging#Interfaces|dependencies]] the package is based on.


  '''patches''' = <patch-filename> [patch-level] [; ...]
  '''patches''' = <patch-filename> [patch-level] [; ...]
Line 184: Line 184:
  '''include''' = <glob-pattern> [; ...]
  '''include''' = <glob-pattern> [; ...]


Optional. [[Platform_Team/Guide/Packaging#Glob patterns|Glob pattern]] for files to include in the archive. Path related patterns will be processed starting from the [[#Predefined_options|%(DISTDIR)s/%(PREFIX)s]] directory. By default, all files are assumed.
Optional. [[Platform_Team/Guide/Sweets_Packaging#Glob_patterns|Glob pattern]] for files to include in the archive. Path related patterns will be processed starting from the [[#Predefined_options|%(DISTDIR)s/%(PREFIX)s]] directory. By default, all files are assumed.


  '''exclude''' = <glob-pattern> [; ...]
  '''exclude''' = <glob-pattern> [; ...]
Line 214: Line 214:
  '''requires''' = <dependency-name> [(=|>=|<) <version>] [; ...]
  '''requires''' = <dependency-name> [(=|>=|<) <version>] [; ...]


Optional. This defines what [[Platform_Team/Guide/Packaging#Package_names|dependencies]] should be present before building the sweet from sources. Note that ''requires'' from [[#.5BComponent.5D|[Component]]] sections are not auto included in the build-time dependencies.
Optional. This defines what [[Platform_Team/Guide/Sweets_Packaging#Interfaces|dependencies]] should be present before building the sweet from sources. Note that ''requires'' from [[#.5BComponent.5D|[Component]]] sections are not auto included in the build-time dependencies.


  '''clean''' = <shell-command>
  '''clean''' = <shell-command>
Line 241: Line 241:
  '''exclude''' = <glob-pattern> [; ...]
  '''exclude''' = <glob-pattern> [; ...]


Optional. If the ''exec'' option was not used, all files will be bundled and these [[Platform_Team/Guide/Packaging#Glob patterns|glob patterns]] might be used to reify the selection.
Optional. If the ''exec'' option was not used, all files will be bundled and these [[Platform_Team/Guide/Sweets_Packaging#Glob_patterns|glob patterns]] might be used to reify the selection.


  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]