Sugar Network/Recipe Specification: Difference between revisions
No edit summary |
No edit summary |
||
| Line 168: | Line 168: | ||
Tags give more context in which to place the activity. This is used to allow users to find activities more easily in the journal, the home view, etc. | Tags give more context in which to place the activity. This is used to allow users to find activities more easily in the journal, the home view, etc. | ||
=== [Source] === | |||
Section makes sense only while packaging 3rd party application. | |||
'''source''' = <url> | |||
Url to download sources tarball. | |||
'''patch''' = <path-to-patch> [patch-level] [; ...] | |||
Patch downloaded tarball. | |||
=== [Buid] === | === [Buid] === | ||
| Line 193: | Line 205: | ||
Various options that make sense only on package developer side. | Various options that make sense only on package developer side. | ||
''' | '''exec''' = <shell-command> | ||
How to bundle package. By default 0sugar just bundles entirely root directory excluding temporary files. | |||
'''requires''' = <dependency> [(=|>=|<) <version>] [; ...] | '''requires''' = <dependency> [(=|>=|<) <version>] [; ...] | ||
What packages should present before invoking | What packages should present before invoking ''exec'' command. For example if ''exec'' command generates .c files from .vala, vala dependency should be mentioned in ''requires'' option. | ||
== Glob patterns == | == Glob patterns == | ||