Line 40: |
Line 40: |
| === [Component] === | | === [Component] === |
| | | |
− | This is a required section (but see also [[#Presets|presents]]). It describes the main recipe component. | + | This is a required section (but see also [[#Presets|presets]]). It describes the main recipe component. |
| | | |
| '''slug''' = <package-slug> | | '''slug''' = <package-slug> |
Line 178: |
Line 178: |
| == Presets == | | == Presets == |
| | | |
− | Instead of component sections, special sections might be used. These sections extend standard ''[Component]'' options and might add special meaning of existed ones, see description for particular preset. | + | Instead of component sections, special sections might be used. These sections extend the standard ''[Component]'' options, and might add special meaning to existing ones, see the description for each particular preset. |
| | | |
| === [Activity] === | | === [Activity] === |
Line 212: |
Line 212: |
| === [Application] === | | === [Application] === |
| | | |
− | If this preset exists, executable file will be created for native packages to launch ''main'' program or ''exec'' script. Executable file will be named by ''slug'' option value and placed to ''/usr/bin'' directory. | + | If this preset exists, an executable file will be created for native packages to launch ''main'' program or ''exec'' script. The executable file will be named by the ''slug'' option value and placed in the ''/usr/bin'' directory. |
| | | |
| === [Package] === | | === [Package] === |
| | | |
− | If this section is present, recipe will be used only for defining native packages on http://refinery.sugarlabs.org. | + | If this section is present, the recipe will be used only for defining native packages on http://refinery.sugarlabs.org. |
| | | |
| [Package/<repo-name-glob>] | | [Package/<repo-name-glob>] |
Line 222: |
Line 222: |
| '''devel''' = <native-package-name> [provides <name-to-provide>] | | '''devel''' = <native-package-name> [provides <name-to-provide>] |
| | | |
− | Subname for ''[Package]'' sections define repository name from ''Base'' project on http://refinery.sugarlabs.org and might contain glob patterns.
| + | The subname for ''[Package]'' sections define the repository name for the ''Base'' project on http://refinery.sugarlabs.org, and might contain glob patterns. |
| | | |
| == Predefined options == | | == Predefined options == |